What is the Visitor pattern?
- A behavioral design pattern that lets you pass requests along a dynamic chain of receivers until one of them handles it.
- A behavioral design pattern that separates an algorithm from an object structure on which it operates. The pattern allows you to define a new operation without changing the classes of the objects on which it operates.
- A creational design pattern that uses factory methods to deal with the problem of creating objects without specifying the exact class of object that will be created.
- A structural design pattern that allows you to compose objects into tree structures to represent part-whole hierarchies.
A behavioral design pattern that separates an algorithm from an object structure on which it operates. The pattern allows you to define a new operation without changing the classes of the objects on which it operates.
Loading...