Composite Pattern
Component
Container
Children
Composite
Leaf
Composite and Component have the exact same interface.
• interface for enumerating children
• Component implements Children() by returning empty set
• interface for adding/removing children?
Previous slide
Next slide
Back to first slide
View graphic version