mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-04 08:13:20 +00:00
Update README.md
This commit is contained in:
1 parent
0785bccffb
commit
07f63256b6
1 file changed
+3
@@ -42,3 +42,6 @@
|
||||
|
||||
##Chain of responsibility
|
||||
**Intent:** Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
|
||||
|
||||
##Command
|
||||
**Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
|
||||
Reference in new issue
Block a user