memento This is my personal implementation of memento pattern. There are two implementations. First in Delphi Object Pascal language and second for Java language.