public abstract class PointIteratorFromStructureData extends PointIteratorAbstract
PointIteratorAbstract.Filter
calcBounds, collection
Constructor and Description |
---|
PointIteratorFromStructureData(StructureDataIterator structIter,
PointFeatureIterator.Filter filter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
finish()
Make sure that the iterator is complete, and recover resources.
|
boolean |
hasNext()
Check if another PointFeature is available
|
protected abstract PointFeature |
makeFeature(int recnum,
StructureData sdata) |
PointFeature |
next()
Returns the next PointFeature.
|
void |
setBufferSize(int bytes)
Hint to use this much memory in buffering the iteration.
|
calcBounds, finishCalcBounds, getBoundingBox, getCalendarDateRange, getCount, getDateRange, setCalculateBounds
public PointIteratorFromStructureData(StructureDataIterator structIter, PointFeatureIterator.Filter filter) throws IOException
structIter
- original iteratorfilter
- optional filterIOException
protected abstract PointFeature makeFeature(int recnum, StructureData sdata) throws IOException
IOException
public boolean hasNext() throws IOException
PointFeatureIterator
IOException
- on i/o errorpublic PointFeature next() throws IOException
PointFeatureIterator
IOException
- on i/o errorpublic void setBufferSize(int bytes)
PointFeatureIterator
bytes
- amount of memory in bytespublic void finish()
PointFeatureIterator
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.