364365366367368369370371372373374
private Observer _observer; public void undo() { Subject subject = (Subject)undoable(); subject.forcedAttachObserver(_observer); } /** * Returns a String representation of this object. * @return a String representation of this object.