Link Details

Link 866819 thumbnail
User 478055 avatar

By mitchp
via java.dzone.com
Published: Oct 22 2012 / 08:38

The Memento captures and externalizes an object’s internal state so that the object can later be restored to that state. Command can use Memento to maintain the state required for an undo operation. It lets you capture an object’s state so you can restore the object later, so it's very useful for an undo operation.
  • 3
  • 0
  • 485
  • 558

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (3)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java