|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PointFeatureCollectionIterator
An iterator over PointFeatureCollections.
try { while (iter.hasNext()) process(iter.next()); } finally { iter.finish(); }
Nested Class Summary | |
---|---|
static interface |
PointFeatureCollectionIterator.Filter
A filter on PointFeatureCollection. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |