public class CompositeShapeVisitor extends ArrayList<ShapeVisitor> implements ShapeVisitor
modCount| Constructor and Description |
|---|
CompositeShapeVisitor() |
CompositeShapeVisitor(ShapeVisitor... visitors) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(Shape shape) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic CompositeShapeVisitor()
public CompositeShapeVisitor(ShapeVisitor... visitors)
public void visit(Shape shape)
visit in interface ShapeVisitorCopyright © 2019. All rights reserved.