public static interface Shape.ShapeVisitor<A,R>
Modifier and Type | Method and Description |
---|---|
R |
visitOval(Shape.Oval oval,
A arg) |
R |
visitPolygon(Shape.Polygon polygon,
A arg) |
R |
visitRectangle(Shape.Rectangle rectangle,
A arg) |
R |
visitRoundRectangle(Shape.RoundRectangle roundRectangle,
A arg) |
R visitRectangle(Shape.Rectangle rectangle, A arg)
R visitOval(Shape.Oval oval, A arg)
R visitRoundRectangle(Shape.RoundRectangle roundRectangle, A arg)
R visitPolygon(Shape.Polygon polygon, A arg)