Memento Design Pattern

The Memento Design Pattern allows to capture and externalize an object’s internal state so that the object can be restored later without violating encapsulation

March 9, 2020