public class PointFeatureCCIteratorFiltered extends java.lang.Object implements PointFeatureCCIterator, IOIterator<PointFeatureCC>
PointFeatureCCIterator.Filter
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.
|
public boolean hasNext() throws java.io.IOException
PointFeatureCCIterator
hasNext
in interface PointFeatureCCIterator
hasNext
in interface IOIterator<PointFeatureCC>
java.io.IOException
- on read errorpublic PointFeatureCC next()
PointFeatureCCIterator
next
in interface PointFeatureCCIterator
next
in interface IOIterator<PointFeatureCC>
public void close()
PointFeatureCCIterator
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface PointFeatureCCIterator