public interface IShapeVisitor
Implementing this interface allows a class to& nbsp ;discover the type of an IShape through  ;the visitor design pattern
Modifier and Type | Method and Description |
---|---|
void |
visit(ComplexShape complexShape)
Visits an IShapeVisitor as a ComplexShape
|
void |
visit(PrimitiveShape primitiveShape)
Visits an IShapeVisitor as a PrimitiveShape
|
void visit(ComplexShape complexShape)
Visits an IShapeVisitor as a ComplexShape
complexShape
- void visit(PrimitiveShape primitiveShape)
Visits an IShapeVisitor as a PrimitiveShape
primitiveShape
-