Interface Observable<T>

  • Type Parameters:
    T - the type of the object to observe

    public interface Observable<T>
    Represents an observable object with a given type. The observable can be observed.
    • Method Detail

      • addObserver

        ObserverRegistration addObserver​(Action1<T,​? extends RuntimeException> observer)
        Adds an observer to the set of observers for this object.
        observer - the observer to add for this object.
        the ObserverRegistration that represents the registration on the Observable