Memento Design Pattern
Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=jOnxYT8Iaoo
Get the Copy and Paste Code: http://goo.gl/rzW5i
Welcome to my Memento Design Pattern Tutorial! The Memento design pattern provides a way to store previous states of an Object easily.
It has 3 main classes:
1. Memento: The basic object that is stored in different states.
2. Originator: Sets and Gets values from the currently targeted Memento. Creates new Mementos and assigns current values to them.
3. Caretaker: Holds an ArrayList that contains all previous versions of the Memento. It can store and retrieve stored Mementos.
All of the code is above to help you learn.
Other Videos By Derek Banas
2012-11-27 | UML 2 Deployment Diagrams |
2012-11-26 | UML 2 State Machine Diagrams |
2012-11-21 | UML 2 Component Diagrams |
2012-11-18 | UML 2 Timing Diagrams |
2012-11-15 | UML 2 Communication Diagrams |
2012-11-12 | UML 2 Sequence Diagrams |
2012-11-09 | UML 2.0 Class Diagrams |
2012-11-07 | UML 2.0 Activity Diagrams |
2012-11-05 | UML 2.0 Tutorial |
2012-11-02 | Visitor Design Pattern |
2012-10-30 | Memento Design Pattern |
2012-10-29 | Mediator Design Pattern |
2012-10-26 | Make Java Executable |
2012-10-25 | Interpreter Design Pattern |
2012-10-22 | Mac Game Controller |
2012-10-20 | Chain of Responsibility Design Pattern |
2012-10-19 | Proxy Design Pattern Tutorial |
2012-10-16 | State Design Pattern |
2012-10-14 | Easy Veggie Burger Recipe |
2012-10-12 | Flyweight Design Pattern |
2012-10-10 | Composite Design Pattern |
Tags:
Memento Design Pattern
Memento Pattern
Memento
Design Pattern Tutorial
Design Pattern
Design Patterns