public class NestedPointCollectionIteratorFiltered extends Object implements NestedPointFeatureCollectionIterator
NestedPointFeatureCollectionIterator.Filter
Modifier and Type | Method and Description |
---|---|
void |
finish()
Make sure that the iterator is complete, and recover resources.
|
boolean |
hasNext()
true if another Feature object is available
|
NestedPointFeatureCollection |
next()
Returns the next NestedPointFeatureCollection object
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.
|
public void setBufferSize(int bytes)
NestedPointFeatureCollectionIterator
setBufferSize
in interface NestedPointFeatureCollectionIterator
bytes
- amount of memory in bytespublic boolean hasNext() throws IOException
NestedPointFeatureCollectionIterator
hasNext
in interface NestedPointFeatureCollectionIterator
IOException
- on i/o errorpublic NestedPointFeatureCollection next() throws IOException
NestedPointFeatureCollectionIterator
next
in interface NestedPointFeatureCollectionIterator
IOException
- on i/o errorpublic void finish()
NestedPointFeatureCollectionIterator
finish
in interface NestedPointFeatureCollectionIterator
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.