public interface PointFeatureCCIterator extends java.io.Closeable, IOIterator<PointFeatureCC>
try (PointFeatureCCIterator iter = getIter()) {
while (iter.hasNext())
process(iter.next());
}
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PointFeatureCCIterator.Filter
A filter on nestedPointFeatureCollection
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Make sure that the iterator is complete, and recover resources.
|
boolean |
hasNext()
true if another Feature object is available
|
PointFeatureCC |
next()
Returns the next NestedPointFeatureCollection object
You must call hasNext() before calling next(), even if you know it will return true.
|
boolean hasNext()
throws java.io.IOException
hasNext in interface IOIterator<PointFeatureCC>java.io.IOException - on i/o errorPointFeatureCC next() throws java.io.IOException
next in interface IOIterator<PointFeatureCC>java.io.IOException - on i/o errorvoid close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable