Package ann4j

Interface Observer

All Known Implementing Classes:
NeuronObserver

public interface Observer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add an object to the list of objects to be observed.
    void
     
    void
    update(String info, Observable observable)
    The update function is called when the observable object is changed.
  • Method Details

    • addObjectToBeObserved

      void addObjectToBeObserved(Observable observable)
      Add an object to the list of objects to be observed.
      Parameters:
      observable - The object to be observed.
    • update

      void update(String info, Observable observable)
      The update function is called when the observable object is changed.
      Parameters:
      info - The information that is passed to the observer.
      observable - The Observable object.
    • clear

      void clear()