Composite
Intent
Enable to assemble complex objects out of primitive objects, recursive composition
Applicability
need to assemble objects out of primitive objects
represent part-whole hierarchies
Structure
Component
operation()
children()
Composite
add()
remove()
children()
Leaf
children
Previous slide
Next slide
Back to first slide
View graphic version