public void attach(Observer newObserv) { subject.attach(newObserv); }
public Observer() { next = null; subj = null; }
public void attach(Observer obser) { obser.setSubject(this); obser.Next = observerList; observerList = obser; }
public void attach(Observer newObserv) { subject.attach(newObserv); }
public Observer() { next = null; subj = null; }
public void attach(Observer obser) { obser.setSubject(this); obser.Next = observerList; observerList = obser; }