Wiki

Changes between Initial Version and Version 1 of VisitorPattern

Show
Ignore:
Timestamp:
08/19/08 11:01:44 (16 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VisitorPattern

    v1 v1  
     1The visitor design pattern is a way of separating an algorithm from an object structure upon which it operates. This enables the addition of new operations to existing object structures without modifying those structures. 
     2 
     3Cobra provides a Vistor base class in its standard library. You can read its doc string and browse its members by looking in [http://cobra-language.com/trac/cobra/browser/cobra/trunk/Source/CobraLang.cobra CobraLang.cobra] online or in your local installation. 
     4 
     5See also: 
     6 
     7 * http://en.wikipedia.org/wiki/Visitor_pattern 
     8 * http://www.javaworld.com/javaworld/javatips/jw-javatip98.html