Applied Design Patterns with Java
Structural :: Composite (163) {C ch 11}
Example - UML : Employees
Example - Java :: Patterns\Structural\Composite
Pattern Concept: to create hierarchical, recursive objects so that any one of them may be either a Composite or simple object; some objects may be nodes with branches, while others may be leaves.
Issues and Consequences of the Composite pattern include:
The example Java program is called 'empTree'.
The UML diagram is above, and the list of Java files is
below:
Catalog