Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Visitable visit(Visitable node,
If we have found the target node, we are done.
- Specified by:
visit in interface
visit in class
node - the node to process
parent - the parent of the node being visited, or, more generally, the node that contains a reference to
the node being visited.