Below is a UML diagram of the Visitor Pattern.
Since Element.accept() has a parameter of type Visitor, shouldn't there be an association drawn from Element to Visitor?
Element.accept()
Visitor
Element
Aucun commentaire:
Enregistrer un commentaire