When you need to add new operations to an object structure without modifying?
the existing classes.
Follow:
- This pattern allows you to keep your object classes stable and add
functionality through new visitor classes.
the existing classes.
Follow:
functionality through new visitor classes.