Composite Design Pattern

The Composite Design Pattern composes objects into tree structures to represent part-whole hierarchies and lets clients treat individual objects and compositions of objects uniformly.

June 8, 2020