Package com.metsci.glimpse.util.var2
Class NotifierBasic<T>
- java.lang.Object
-
- com.metsci.glimpse.util.var2.NotifierBasic<T>
-
- All Implemented Interfaces:
Listenable,Notifier<T>
public class NotifierBasic<T> extends Object implements Notifier<T>
-
-
Constructor Summary
Constructors Constructor Description NotifierBasic(T immediateArg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisposableaddListener(Set<? extends ListenerFlag> flags, Consumer<? super T> listener)voidfire(T t)-
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.Listenable
addListener, addListener
-
Methods inherited from interface com.metsci.glimpse.util.var2.Notifier
addListener, addListener, addListener
-
-
-
-
Constructor Detail
-
NotifierBasic
public NotifierBasic(T immediateArg)
-
-
Method Detail
-
addListener
public Disposable addListener(Set<? extends ListenerFlag> flags, Consumer<? super T> listener)
- Specified by:
addListenerin interfaceNotifier<T>
-
fire
public void fire(T t)
-
-