Research work · 2014
The Visitor Pattern
Adam Freeman
Apress eBooks
Abstract
The visitor pattern is similar to the strategy pattern in that it allows the behavior of a class to be extended without modifying its source code or creating a new subclass, except that the visitor pattern is applied to collections of heterogeneous objects. Table 25-1 puts the visitor pattern into context. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.