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