Package org.multiverse.api.functions
Class Functions.IncLongFunction
java.lang.Object
org.multiverse.api.functions.LongFunction
org.multiverse.api.functions.Functions.IncLongFunction
- Enclosing class:
Functions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.multiverse.api.functions.LongFunction
call
-
Field Details
-
value
private final long value
-
-
Constructor Details
-
IncLongFunction
public IncLongFunction(long value)
-
-
Method Details
-
call
public long call(long current) Description copied from class:LongFunction
Calculates the new value based on the current value.- Specified by:
call
in classLongFunction
- Parameters:
current
- the current value.- Returns:
- the new value.
-
toString
-