dimanche 3 juin 2018

What is the difference between a composite pattern expressed with arrow point to component and one without?

I am designing a program and I would like to make use of the composite pattern. I have noticed that there are two ways of expressing it: Class diagram of composite pattern with no arrow pointing to the component class

and

Class diagram of composite pattern with arrow pointing to the component class

What is the difference between the two? Thank you!

Aucun commentaire:

Enregistrer un commentaire