Interface Observer


public interface Observer
An interface for the Observer pattern.
Version:
1.0 05/11/06
Author:
Hailong Wang
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method was called whenever the observed object is changed.
  • Method Details

    • update

      void update(Observable o, Object arg)
      This method was called whenever the observed object is changed.
      Parameters:
      o - the observerd object.
      arg - an argument passed by the notifyObservers method.