Package org.multiverse.api.functions
Class Functions.IncIntFunction
java.lang.Object
org.multiverse.api.functions.IntFunction
org.multiverse.api.functions.Functions.IncIntFunction
- Enclosing class:
Functions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.multiverse.api.functions.IntFunction
call
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
IncIntFunction
public IncIntFunction(int value)
-
-
Method Details
-
call
public int call(int current) Description copied from class:IntFunctionCalculates the new value based on the current value.- Specified by:
callin classIntFunction- Parameters:
current- the current value.- Returns:
- the new value.
-
toString
-