public interface FigureSet
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Figure f)
Test if this set contains the given figure.
|
java.util.Iterator |
figures()
Return an iteration of the figures in this set, in an
undefined order.
|
java.util.Iterator |
figuresFromBack()
Return an iteration of the figures in this set, from
back to front.
|
java.util.Iterator |
figuresFromFront()
Return an iteration of the figures in this set, from back to
front.
|
boolean contains(Figure f)
f
- The figurejava.util.Iterator figures()
java.util.Iterator figuresFromBack()
java.util.Iterator figuresFromFront()