Data Structures and Algorithms
with Object-Oriented Design Patterns in C#![]() ![]() ![]() ![]() ![]() |
Program defines an abstract class
called AbstractVisitor that implements the Visitor interface.
This class is provided simply as a convenience.
It provides a default implementation for the Visit method
which does nothing and
a default implementation for the IsDone method
which always returns false.
Program: AbstractVisitor class.