public interface PointFeatureCollectionIterator
try {
while (iter.hasNext())
process(iter.next());
} finally {
iter.finish();
}
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PointFeatureCollectionIterator.Filter
A filter on PointFeatureCollection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
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.
|
void |
setBufferSize(int bytes)
Hint to use this much memory in buffering the iteration.
|
boolean hasNext()
throws java.io.IOException
java.io.IOException - on i/o errorPointFeatureCollection next() throws java.io.IOException
java.io.IOException - on i/o errorvoid finish()
void setBufferSize(int bytes)
bytes - amount of memory in bytes