Java Design Patterns by Vaskaran Sarcar

Java Design Patterns by Vaskaran Sarcar

Author:Vaskaran Sarcar
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Output

Note

1.We are advised to treat the memento object as an opaque object (i.e., ideally, caretakers should not be allowed to change them).

2.We should pay special attention so that other objects are not affected by the change made in the originator to the memento.

3.Sometimes, use of this pattern can cost more (e.g., if we want to store and restore large amount of data frequently). Also, from a caretaker point of view, the caretaker has no idea about how much state is kept in the memento that it wants to delete.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.