public abstract class PointIteratorMultidim extends java.lang.Object implements PointFeatureIterator
PointFeatureIterator.Filter
Constructor and Description |
---|
PointIteratorMultidim(java.lang.String name,
java.util.List<Variable> vars,
int outerIndex,
PointFeatureIterator.Filter filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Check if another PointFeature is available.
|
protected abstract PointFeature |
makeFeature(int recnum,
StructureData sdata) |
PointFeature |
next()
Returns the next PointFeature.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public PointIteratorMultidim(java.lang.String name, java.util.List<Variable> vars, int outerIndex, PointFeatureIterator.Filter filter)
protected abstract PointFeature makeFeature(int recnum, StructureData sdata)
public boolean hasNext()
PointFeatureIterator
Since this iterator may be used in a for-each statement, implementations should close
it the first
time this method returns false
, as it may not get closed otherwise.
hasNext
in interface java.util.Iterator<PointFeature>
hasNext
in interface PointFeatureIterator
public PointFeature next()
PointFeatureIterator
next
in interface java.util.Iterator<PointFeature>
next
in interface PointFeatureIterator