public static interface GetterSetter.Int
extends java.util.function.IntSupplier
Modifier and Type | Method and Description |
---|---|
static GetterSetter.Int |
from(java.util.function.IntSupplier getter,
java.util.function.IntConsumer setter)
Creates a GetterSetter.Int from a Supplier and a Consumer.
|
void |
set(int value)
Sets the value which will later be returned by get().
|
void set(int value)
static GetterSetter.Int from(java.util.function.IntSupplier getter, java.util.function.IntConsumer setter)