DEV Community

Cover image for Visitor Pattern | Design Patterns in Java
coder4life
coder4life

Posted on

Visitor Pattern | Design Patterns in Java

Java implementation of the Visitor Pattern, where you place the new behavior into a separate class called visitor, instead of trying to integrate it into existing classes.

Top comments (0)