mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-25 15:58:52 +00:00
Update README.md
This commit is contained in:
@@ -58,3 +58,5 @@
|
|||||||
##Memento
|
##Memento
|
||||||
**Intent:** Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.
|
**Intent:** Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.
|
||||||
|
|
||||||
|
##Observer
|
||||||
|
**Intent:** Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
|
||||||
|
|||||||
Reference in New Issue
Block a user