Difference between revisions of "Visitor"

From CDOT Wiki
Jump to: navigation, search
 
Line 1: Line 1:
<h1>Visitor Pattern</h1>
+
== Observer Pattern ==
  
  

Revision as of 21:49, 8 April 2007

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.