public class DefaultPointIndexIterator extends java.lang.Object implements PointIndexIterator
| Modifier and Type | Field and Description |
|---|---|
protected int |
counter |
protected Element |
elem |
| Constructor and Description |
|---|
DefaultPointIndexIterator(Element e)
create a new PointIndexIterator for the given Element
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements
|
int |
next()
Returns the index of the next PicPoint in the iteration.
|
void |
reset()
reset the state of this iterator
|
protected int counter
protected Element elem
public DefaultPointIndexIterator(Element e)
public boolean hasNext()
hasNext in interface PointIndexIteratorpublic int next()
next in interface PointIndexIteratorpublic void reset()
PointIndexIteratorreset in interface PointIndexIteratorSubmit a bug : syd@jpicedt.org