|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
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.
Method Summary | |
---|---|
boolean |
contains(Figure f)
Test if this set contains the given figure. |
Iterator |
figures()
Return an iteration of the figures in this set, in an undefined order. |
Iterator |
figuresFromBack()
Return an iteration of the figures in this set, from back to front. |
Iterator |
figuresFromFront()
Return an iteration of the figures in this set, from back to front. |
Method Detail |
---|
boolean contains(Figure f)
Iterator figures()
Iterator figuresFromBack()
Iterator figuresFromFront()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |