Package com.metsci.glimpse.util.var2
Class ReadableVarDerived<V>
- java.lang.Object
-
- com.metsci.glimpse.util.var2.ReadableVarDerived<V>
-
- All Implemented Interfaces:
ActivityListenable,ReadableVar<V>
- Direct Known Subclasses:
ReadableVarDerivedCaching,VarDerived
public abstract class ReadableVarDerived<V> extends Object implements ReadableVar<V>
-
-
Field Summary
-
Fields inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
ALL, COMPLETED
-
-
Constructor Summary
Constructors Constructor Description ReadableVarDerived(ActivityListenable... listenables)ReadableVarDerived(Collection<? extends ActivityListenable> listenables)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DisposableaddListener(Set<? extends ListenerFlag> flags, ActivityListener listener)Listenableall()Includes notifications for both ongoing and completed events.Listenablecompleted()Includes notifications for completed events only.abstract Vv()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
addListener, addListener, addListener, addListener, addListener
-
-
-
-
Constructor Detail
-
ReadableVarDerived
@SafeVarargs public ReadableVarDerived(ActivityListenable... listenables)
-
ReadableVarDerived
public ReadableVarDerived(Collection<? extends ActivityListenable> listenables)
-
-
Method Detail
-
v
public abstract V v()
- Specified by:
vin interfaceReadableVar<V>
-
completed
public Listenable completed()
Description copied from interface:ActivityListenableIncludes notifications for completed events only.- Specified by:
completedin interfaceActivityListenable
-
all
public Listenable all()
Description copied from interface:ActivityListenableIncludes notifications for both ongoing and completed events.- Specified by:
allin interfaceActivityListenable
-
addListener
public Disposable addListener(Set<? extends ListenerFlag> flags, ActivityListener listener)
- Specified by:
addListenerin interfaceActivityListenable
-
-