MCPcopy Create free account
hub / github.com/amikey/java-design-patterns / App

Class App

memento/src/main/java/com/iluwatar/memento/App.java:12–36  ·  view source on GitHub ↗

Memento pattern is for storing and restoring object state. The object (Star) gives out a "memento" (StarMemento) that contains the state of the object. Later on the memento can be set back to the object restoring the state.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected