Visitor
← Back to Behavioral Patterns
Add operations to object structures without modifying them. Represent an operation to be performed on elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.