Interface LongToBooleanFunction


  • public interface LongToBooleanFunction
    Functional interface that corresponds to the method signature boolean apply(long).
    Since:
    1.0.4
    Author:
    Emil Forslund
    • Method Detail

      • applyAsBoolean

        boolean applyAsBoolean​(long value)
        Returns the boolean value for the specified long. This method should operate without side-effects.
        Parameters:
        value - the input long value
        Returns:
        the resulting value