private static class Functions.IncLongFunction extends LongFunction
Modifier and Type | Field and Description |
---|---|
private long |
value |
Constructor and Description |
---|
IncLongFunction(long value) |
Modifier and Type | Method and Description |
---|---|
long |
call(long current)
Calculates the new value based on the current value.
|
java.lang.String |
toString() |
call
public long call(long current)
LongFunction
call
in class LongFunction
current
- the current value.public java.lang.String toString()
toString
in class java.lang.Object