Interface Area.Visitor<R>
- Type Parameters:
R
- The result type of visiting an area.
- Enclosing interface:
- Area
public static interface Area.Visitor<R>
Visitor to operate on different shapes of areas.
- Since:
- 5.1.203
-
Method Summary
-
Method Details
-
visit
Visit a rectangular area.- Parameters:
rectArea
- The area to visit.- Returns:
- The result of the visit.
- Since:
- 5.1.203
-
visit
Visit a circular area.- Parameters:
circleArea
- The area to visit.- Returns:
- The result of the visit.
- Since:
- 5.1.203
-
visit
Visit a polygonal area.- Parameters:
polyArea
- The area to visit.- Returns:
- The result of the visit.
- Since:
- 5.1.203
-