public class PointCollectionIteratorFiltered extends Object implements PointFeatureCollectionIterator
PointFeatureCollectionIterator.Filter
Constructor and Description |
---|
PointCollectionIteratorFiltered(PointFeatureCollectionIterator pfciter,
PointFeatureCollectionIterator.Filter filter) |
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.
|
public PointCollectionIteratorFiltered(PointFeatureCollectionIterator pfciter, PointFeatureCollectionIterator.Filter filter)
public void setBufferSize(int bytes)
PointFeatureCollectionIterator
setBufferSize
in interface PointFeatureCollectionIterator
bytes
- amount of memory in bytespublic boolean hasNext() throws IOException
PointFeatureCollectionIterator
hasNext
in interface PointFeatureCollectionIterator
IOException
- on i/o errorpublic PointFeatureCollection next() throws IOException
PointFeatureCollectionIterator
next
in interface PointFeatureCollectionIterator
IOException
- on i/o errorpublic void finish()
PointFeatureCollectionIterator
finish
in interface PointFeatureCollectionIterator
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.