using bothinheritanceandcomposition. Finally, the Composite pattern composes
objects in a tree-structure. In this way, clients can treat objects and composition (of
objects) in the same way. By structuring objects in this way, the Composite pattern
greatly simplifies creating complex structures.
Chapter 4,Decorator Pattern
Chapter 5,Adapter Pattern
Chapter 6,Composite PatternFigure Part III-1. Structural design pattern
Structural Patterns
Class/
Object/
InterfaceClass/
Object/
InterfaceClass/
Object/
InterfaceClass/
Object/
InterfaceLarger structures are
created by multiple
inheritence and
composition