Visitor Pattern
The Visitor Pattern allows you to add new methods to other classes without creating major changes. Additionally, these methods can be customized to match the desired functionality for the object for which it is added to.
The Visitor Pattern allows you to add new methods to other classes without creating major changes. Additionally, these methods can be customized to match the desired functionality for the object for which it is added to.