mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 04:54:39 +00:00
Update README.md
This commit is contained in:
1 parent
b3d48cc4df
commit
fd5467dc75
1 file changed
+2
@@ -58,3 +58,5 @@
|
||||
##Memento
|
||||
**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