public class ShapeDispatcher extends Object
| Constructor and Description |
|---|
ShapeDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVisitor(ShapeVisitor vistor) |
void |
dispatch(Collection<Shape> collection) |
public void addVisitor(ShapeVisitor vistor)
public void dispatch(Collection<Shape> collection)
Copyright © 2019. All rights reserved.