Class GenericVisitorAdapter<R,​A>

  • All Implemented Interfaces:
    GenericVisitor<R,​A>

    public abstract class GenericVisitorAdapter<R,​A>
    extends Object
    implements GenericVisitor<R,​A>
    A visitor that has a return value (R), and has a default implementation for all its visit methods that visits their children in an unspecified order, and the first visit method that returns a value will stop the visitation and be the end result.
    Author:
    Julio Vilmar Gesser