Package com.speedment.common.function
Interface BooleanUnaryOperator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BooleanUnaryOperator
Functional interface describing a method that given abooleanreturns anotherboolean.- Since:
- 1.0.5
- Author:
- Emil Forslund
- See Also:
IntUnaryOperator,LongUnaryOperator,DoubleUnaryOperator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BooleanUnaryOperatorandThen(BooleanUnaryOperator after)Composes a new function from this method and the specified one, applying the specified function after this function.booleanapplyAsBoolean(boolean value)Applies this function on the specifiedboolean, returning a newboolean.default BooleanUnaryOperatorcompose(BooleanUnaryOperator before)Composes a new function from this method and the specified one, applying the specified function before this function.
-
-
-
Method Detail
-
applyAsBoolean
boolean applyAsBoolean(boolean value)
Applies this function on the specifiedboolean, returning a newboolean.- Parameters:
value- the input value- Returns:
- the output
-
compose
default BooleanUnaryOperator compose(BooleanUnaryOperator before)
Composes a new function from this method and the specified one, applying the specified function before this function.- Parameters:
before- the function to apply before this- Returns:
- the combined function
-
andThen
default BooleanUnaryOperator andThen(BooleanUnaryOperator after)
Composes a new function from this method and the specified one, applying the specified function after this function.- Parameters:
after- the function to apply after this- Returns:
- the combined function
-
-