public class PointCollectionIteratorFiltered extends 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, waitfinishpublic PointCollectionIteratorFiltered(PointFeatureCollectionIterator pfciter, PointFeatureCollectionIterator.Filter filter)
public boolean hasNext()
throws IOException
PointFeatureCollectionIteratorhasNext in interface PointFeatureCollectionIteratorhasNext in interface IOIterator<PointFeatureCollection>IOException - on read errorpublic PointFeatureCollection next() throws IOException
PointFeatureCollectionIteratornext in interface PointFeatureCollectionIteratornext in interface IOIterator<PointFeatureCollection>IOException - on read errorpublic void close()
PointFeatureCollectionIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface PointFeatureCollectionIterator