Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Observer Pattern - Subject
public interface Subject {
public void register(Observer o);
public void unregister(Observer o);
public void notifyObservers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment