public class Originator extends Object
Originator()
Memento
createMemento()
String
getState()
void
restore(Memento memento)
setState(String state)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Originator()
public void setState(String state)
public String getState()
public Memento createMemento()
public void restore(Memento memento)
Copyright © 2024. All rights reserved.