Observer Pattern
Intent:
Represents an operation to be performed on the elements of an object Structure. Visitor lets
you define a new operation withou changing the classes of the elements on which it operates.
Intent:
Represents an operation to be performed on the elements of an object Structure. Visitor lets
you define a new operation withou changing the classes of the elements on which it operates.