|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Enumerations that access Figures. It provides a method nextFigure, that hides the down casting from client code.
Method Summary | |
boolean |
hasNextFigure()
|
Figure |
nextFigure()
Returns the next element of the enumeration. |
void |
reset()
Reset the enumeration so it can be reused again. |
Method Detail |
public Figure nextFigure()
java.util.NoSuchElementException
- If no more elements exist.public boolean hasNextFigure()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |