Visitor pattern
De Banane Atomic
Aller à la navigationAller à la recherche
Description
Allow adding new behaviors to existing class hierarchy without altering existing code.
This pattern is particularly useful when, you cannot modify existing classes but need to change their behavior.