Changes between Version 1 and Version 2 of VisitorPattern
- Timestamp:
- 08/08/09 12:43:32 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisitorPattern
v1 v2 1 == Visitor Pattern == 2 1 3 The 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 4 3 5 Cobra 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 6 5 See also:7 External pages on visitors: 6 8 7 9 * http://en.wikipedia.org/wiki/Visitor_pattern 8 10 * http://www.javaworld.com/javaworld/javatips/jw-javatip98.html 11 12 See also: LibraryTopics