I am glad to announce about “Java SE Efficient Programming” new course available for free at www.abelski.com. This course covers the most important techniques for designing and constructing better Java SE applications. Each technique is thoroughly explained and presented together with a code example. Using these techniques your code will be clear, correct, usable, robust, flexible and maintainable.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.