Package com.metsci.glimpse.util.var2
Interface Var<V>
-
- All Superinterfaces:
ActivityListenable
,ReadableVar<V>
- All Known Implementing Classes:
VarBasic
,VarDerived
public interface Var<V> extends ReadableVar<V>
-
-
Field Summary
-
Fields inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
ALL, COMPLETED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
set(boolean ongoing, V value)
default boolean
set(V value)
default boolean
update(boolean ongoing, Function<? super V,? extends V> updateFn)
default boolean
update(Function<? super V,? extends V> updateFn)
default boolean
updateIfNonNull(boolean ongoing, Function<? super V,? extends V> updateFn)
default boolean
updateIfNonNull(Function<? super V,? extends V> updateFn)
-
Methods inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
addListener, addListener, addListener, addListener, addListener, addListener, all, completed
-
Methods inherited from interface com.metsci.glimpse.util.var2.ReadableVar
v
-
-