Next:
Why Visitors?
Why Visitors?
First Attempt: Instanceof and Type Casts.
Second Attempt: Dedicated Methods.
Third Attempt: The Visitor Pattern.
References
About this document ...
Jens Palsberg