Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [visitor-pattern]

The tag has no usage guidance.

-2
votes
1answer
75 views

Design help needed

I have a model call Drug class Drug{ String drugId; String name; String strength; } this interface takes a drugId and returns the Drug Model interface IProcessor{ getDrug(String drugId) } // easy ...
0
votes
0answers
92 views

Combination of visitor and iterator pattern

While studying the visitor design pattern i found this phrase: You can use Visitor along with Iterator to traverse a complex data structure and execute some operation over its elements, even if ...