Memento
-
MementoModeling/DesignPattern 2020. 3. 1. 19:07
1. Overview When we want to store an object's state without exposing internal details about the state then we can use memento design pattern. The main intent behind saving state is often because we want to restore the object to a saved state Using memento we can ask an object to give its state as a single, sealed object and store it for later use. This object should not expose the state for modi..