Added More pattern UMLs

This commit is contained in:
John Webb
2014-07-31 14:13:53 -05:00
parent 3a35fa7ef6
commit de431c5126
33 changed files with 1508 additions and 2 deletions

View File

@@ -6,3 +6,7 @@ The Visitor Pattern lets you outsource operations on objects to other objects. T
But classes have to define a contract to allow visitors (the `Role::accept` method in the example).
The contract is an abstract class but you can have also a clean interface. In that case, each Visitor has to choose itself which method to invoke on the visitor.
## UML Diagram
![Alt Visitor UML Diagram](uml/uml.png)