Design Patterns - Composite Pattern

Posted Sunday, July 27, 2008 1:23 PM by CumpsD

It's been a little while again. I blame myself for installing World Of Warcraft again, too addictive.

Anyway, time for the Composite Pattern. This is one I'm having a little trouble with to describe clearly.

Let's start with the definition: "Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly."

Composite Pattern Class Diagram

Read more at http://blog.cumps.be/design-patterns-composite-pattern/

Comments

No Comments