samedi 5 septembre 2020

Composite pattern with one component and multiple composite

As mentioned in the title i have a doubt about composite pattern; in particular i don't know if it's possible or not to have 2 different composite class and relative leafs, referencing to just one component as shown in figure. example

Aucun commentaire:

Enregistrer un commentaire