visitor pattern
Noun
Meaning
visitor pattern (plural visitor patterns)
(software, design) A behavioural design pattern that separates an algorithm from an object structure on which it operates.
Synonyms
Examples
The Visitor pattern encodes a logical operation on the whole hierarchy into a single class containing one method per type.
Instead, one could apply the Visitor pattern.