Interface TObserver


public interface TObserver
Author:
shannah
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update​(TObservable observable, Object data)
    This method is called if the specified Observable object's notifyObservers method is called (because the Observable object has been updated.
  • Method Details

    • update

      void update(TObservable observable, Object data)
      This method is called if the specified Observable object's notifyObservers method is called (because the Observable object has been updated.
      Parameters:
      observable - the TObservable object.
      data - the data passed to TObservable.notifyObservers(Object).