001package headfirst.observer.WeatherStation; 002 003public interface Subject { 004 public void registerObserver(Observer o); 005 public void removeObserver(Observer o); 006 public void notifyObservers(); 007}