|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FigureSet
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 |
---|
boolean contains(Figure f)
java.util.Iterator figures()
java.util.Iterator figuresFromBack()
java.util.Iterator figuresFromFront()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |