public static class Figure.FigureIterator
extends java.lang.Object
Constructor and Description |
---|
FigureIterator(IFigure figure)
Constructs a new FigureIterator for the given Figure.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if there's another Figure to iterate over. |
IFigure |
nextFigure()
Returns the next Figure.
|
public FigureIterator(IFigure figure)
figure
- The Figure whose children to iterate overpublic IFigure nextFigure()
public boolean hasNext()
true
if there's another Figure to iterate over.true
if there's another Figure to iterate overCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.