mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 07:13:02 +00:00
Update README.md
This commit is contained in:
1 parent
13257b8b33
commit
6246ed6d26
1 file changed
+4
@@ -54,3 +54,7 @@
|
||||
|
||||
##Mediator
|
||||
**Intent:** Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.
|
||||
|
||||
##Memento
|
||||
**Intent:** Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.
|
||||
|
||||
Reference in new issue
Block a user