|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IShapeVisitor
Interface to visit the shape objects
Method Summary | |
---|---|
void |
visit(CircleShape circleShape)
Visits the CircleShape object to perfom the operation |
void |
visit(RectangleShape rectangleShape)
Visits the RectangleShape object to perfom the operation |
void |
visit(TriangleShape triangleShape)
Visits the TriangleShape object to perfom the operation |
Method Detail |
---|
void visit(RectangleShape rectangleShape)
rectangleShape
- RectangleShape object to be visitedvoid visit(CircleShape circleShape)
circleShape
- CircleShape object to be visitedvoid visit(TriangleShape triangleShape)
triangleShape
- TriangleShape object to be visited
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |