public class PointCollectionIteratorFiltered extends java.lang.Object implements PointFeatureCollectionIterator
PointFeatureCollectionIterator.Filter
Constructor and Description |
---|
PointCollectionIteratorFiltered(PointFeatureCollectionIterator pfciter,
PointFeatureCollectionIterator.Filter filter) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Make sure that the iterator is complete, and recover resources.
|
boolean |
hasNext()
true if another PointFeatureCollection is available
|
PointFeatureCollection |
next()
Returns the next PointFeatureCollection
You must call hasNext() before calling next(), even if you know it will return true.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish
public PointCollectionIteratorFiltered(PointFeatureCollectionIterator pfciter, PointFeatureCollectionIterator.Filter filter)
public boolean hasNext() throws java.io.IOException
PointFeatureCollectionIterator
hasNext
in interface PointFeatureCollectionIterator
hasNext
in interface IOIterator<PointFeatureCollection>
java.io.IOException
- on read errorpublic PointFeatureCollection next()
PointFeatureCollectionIterator
next
in interface PointFeatureCollectionIterator
next
in interface IOIterator<PointFeatureCollection>
public void close()
PointFeatureCollectionIterator
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface PointFeatureCollectionIterator