|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The FigureSet interface is the interface implemented by any class that contain references to a set of figures. Some of the operations are noted as optional -- implementors can throw an UnsupportedOperation exception if these methods do not make sense for them.
| Yellow |
| Method Summary | |
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. |
| Method Detail |
public boolean contains(Figure f)
public java.util.Iterator figures()
public java.util.Iterator figuresFromBack()
public java.util.Iterator figuresFromFront()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||