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() |
callpublic long call(long current)
LongFunctioncall in class LongFunctioncurrent - the current value.public java.lang.String toString()
toString in class java.lang.Object