mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 20:13:10 +00:00
Update README.md
This commit is contained in:
1 parent
e742950c19
commit
dcf82b01c6
1 file changed
+3
@@ -27,3 +27,6 @@
|
||||
|
||||
##Composite
|
||||
**Intent:** Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.
|
||||
|
||||
##Decorator
|
||||
**Intent:** Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
|
||||
Reference in new issue
Block a user