Documentation of 'org.jquantlib.util.Observable' Java class
Observable
org.jquantlib.util

Interface Observable

    • Method Detail

      • addObserver

        void addObserver(Observer observer)
        Attaches a observer to the Observable. After attachment the observer gets informed about changes in the Observable.
        Parameters:
        observer - The observer to attach to the observable
      • countObservers

        int countObservers()
        Counts how many Observers were attached to this class.
        Returns:
        the number of Observers
        See Also:
        Observer
      • getObservers

        java.util.List<Observer> getObservers()
        Returns list of observers registered with the Observable. List returned is unmodifiable list.
        Returns:
        list of observers
      • deleteObserver

        void deleteObserver(Observer observer)
        Detaches a previously attached observer to the observable. After detachment the observer does no longer receive change notifications from the observable.
        Parameters:
        observer - The observer to detach from the observable
      • deleteObservers

        void deleteObservers()
        Detaches all previously attached observer to the observable. After detachment observers do not longer receive change notifications from the observable.
      • notifyObservers

        void notifyObservers()
        Notifies all attached observers about changes in the observable.
      • notifyObservers

        void notifyObservers(java.lang.Object arg)
        Notifies all attached observers about changes in the observable.
        Parameters:
        arg - an arbitrary Object to be passed to the Observer

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.