Interface ProperObservable<O,T>

Type Parameters:
O - observer type accepted by this Observable
T - 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

public interface ProperObservable<O,T> extends Observable<O>
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 Details

    • notifyObservers

      void notifyObservers(T event)
    • defaultNotificationAccumulator

      NotificationAccumulator<O,T,?> defaultNotificationAccumulator()
    • defaultHashCode

      default int defaultHashCode()
    • defaultEquals

      default boolean defaultEquals(Object o)
    • defaultToString

      default String defaultToString()