private static class Functions.IncIntFunction extends IntFunction
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Constructor and Description |
|---|
IncIntFunction(int value) |
| Modifier and Type | Method and Description |
|---|---|
int |
call(int current)
Calculates the new value based on the current value.
|
java.lang.String |
toString() |
callpublic int call(int current)
IntFunctioncall in class IntFunctioncurrent - the current value.public java.lang.String toString()
toString in class java.lang.Object