SE450: Composite: The Composite Pattern [10/24] Previous pageContentsNext page

Allow collections to be treated the same as single objects.

Define a typed tree.

Here is an object diagram from the GOF:

gof-compo073

Here is a class diagram from the GOF:

gof-compo072

Previous pageContentsNext page