Package org.multiverse.api.functions
Class BooleanFunction
- java.lang.Object
-
- org.multiverse.api.functions.BooleanFunction
-
public abstract class BooleanFunction extends Object implements Function<Boolean>
AFunctionfor primitives that accepts an argument of type boolean and returns a new value of the same type.The reason why
BooleanFunctionis an abstract class instead of an ordinary interface, is that this class doesn't cause any unwanted boxing of primitives version of the call method is used instead of the one that accepts and returns a/an Boolean).This class is generated.
-
-
Constructor Summary
Constructors Constructor Description BooleanFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleancall(boolean current)Calculates the new value based on the current value.Booleancall(Boolean arg)Evaluates the function.
-