T - the type of object to be visited
public interface Visitor<T>
Visitor interface defines the contract for an object that is used to visit another object.boolean visit(T... visitable)
visitable - the object to be visitedtrue if the visit was successful and visiting should continue, false otherwise