Package org.multiverse.api.functions
Interface Function<E>
- All Known Implementing Classes:
BooleanFunction
,DoubleFunction
,Functions.IdentityDoubleFunction
,Functions.IncDoubleFunction
,Functions.IncIntFunction
,Functions.IncLongFunction
,IncIntFunction
,IntFunction
,LongFunction
public interface Function<E>
A Function that accepts an argument of a certain type and returns a new value of the same type.
Can be used for commuting functions or for the Ref.alter methods.
This class is generated.
-
Method Summary
-
Method Details
-
call
Evaluates the function.- Parameters:
value
- the value to evaluate.- Returns:
- the result of the evaluation
-