Package org.multiverse.api.functions
Class Functions.IncLongFunction
- java.lang.Object
-
- org.multiverse.api.functions.LongFunction
-
- org.multiverse.api.functions.Functions.IncLongFunction
-
- All Implemented Interfaces:
Function<java.lang.Long>
- Enclosing class:
- Functions
private static class Functions.IncLongFunction extends LongFunction
-
-
Field Summary
Fields Modifier and Type Field Description private longvalue
-
Constructor Summary
Constructors Constructor Description IncLongFunction(long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcall(long current)Calculates the new value based on the current value.java.lang.StringtoString()-
Methods inherited from class org.multiverse.api.functions.LongFunction
call
-
-
-
-
Method Detail
-
call
public long call(long current)
Description copied from class:LongFunctionCalculates the new value based on the current value.- Specified by:
callin classLongFunction- Parameters:
current- the current value.- Returns:
- the new value.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-