If it was intended to be used to implement the visitor pattern, it is backwards. The visitor interface should contain the visit methods, and the concrete classes being visited should contain the accept method.
-Adrian
If it was intended to be used to implement the visitor pattern, it is backwards. The visitor interface should contain the visit methods, and the concrete classes being visited should contain the accept method.
-Adrian