Class GenericListVisitorAdapter<R,​A>

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

    public abstract class GenericListVisitorAdapter<R,​A>
    extends Object
    implements GenericVisitor<List<R>,​A>
    A visitor that has a return value of List<R>, and has a default implementation for all its visit methods that visits their children in an unspecified order, and all visit methods that returns a value be added to a flattened List<R>.
    Author:
    Enno Boland