Composite pattern

De Banane Atomic
Aller à la navigationAller à la recherche

Description

  • Compose objects into tree structures to represent part-whole hierarchies.
    Composite lets clients treat individual objects and compositions of objects uniformly

Exemple