Interface ProperObservable<O,T>
- Type Parameters:
O- observer type accepted by this ObservableT- notification type produced by this Observable
- All Superinterfaces:
Observable<O>
- All Known Subinterfaces:
ProperEventStream<T>, ProperLiveList<E>, ProperVal<T>
- All Known Implementing Classes:
ConnectableEventSource, EventSource, EventStreamBase, LiveArrayList, LiveListBase, ObservableBase, SuspendableBase, SuspendableNo, SuspendableYes, SuspenderBase, ValBase
An Observable that maintains a collection of registered
observers and notifies them when a change occurs. This is unlike
ProxyObservable, which registers observers with an underlying
Observable, and unlike RigidObservable, which does
not produce any notifications.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault intdefault StringvoidnotifyObservers(T event) Methods inherited from interface Observable
addObserver, observe, removeObserver
-
Method Details
-
notifyObservers
-
defaultNotificationAccumulator
NotificationAccumulator<O,T, defaultNotificationAccumulator()?> -
defaultHashCode
default int defaultHashCode() -
defaultEquals
-
defaultToString
-