Package org.comroid.mutatio.ref
Interface Reference.Settable<T>
-
- All Superinterfaces:
Reference<T>,org.comroid.api.SelfDeclared<Reference<T>>,org.comroid.api.Specifiable<Reference<T>>,java.util.function.Supplier<T>
- All Known Implementing Classes:
OutdateableReference.SettableOfSupplier
public static interface Reference.Settable<T> extends Reference<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.comroid.mutatio.ref.Reference
Reference.Settable<T>, Reference.Support
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Tcompute(java.util.function.Function<T,T> computor)default TcomputeIfAbsent(java.util.function.Supplier<T> supplier)default TcomputeIfPresent(java.util.function.Function<T,T> computor)static <T> Reference.Settable<T>create()static <T> Reference.Settable<T>create(T initialValue)Tset(T newValue)
-
-
-
Method Detail
-
create
static <T> Reference.Settable<T> create()
-
create
static <T> Reference.Settable<T> create(@Nullable T initialValue)
-
-