Package | Description |
---|---|
bayou.util |
Miscellaneous types and utilities.
|
Modifier and Type | Method and Description |
---|---|
static <T> Var<T> |
Var.init(T initValue)
Create a simple Var with the initial value.
|
static <T> Var<T> |
Var.init(T initValue,
Consumer<? super T> validator)
Create a Var with a validator.
|
static <T> Var<T> |
Var.of(Supplier<? extends T> getter,
Consumer<? super T> setter)
Create a Var with the getter and setter.
|