Class ShapeVisitor.Default<R>

  • Type Parameters:
    R - Return type.
    All Implemented Interfaces:
    ShapeVisitor<R>
    Enclosing interface:
    ShapeVisitor<R>

    public abstract static class ShapeVisitor.Default<R>
    extends java.lang.Object
    implements ShapeVisitor<R>
    Creates ShapeVisitor that return a value when necessary when visiting shapes.