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 java.io.IOException
structIter
- original iteratorfilter
- optional filterjava.io.IOException
protected abstract PointFeature makeFeature(int recnum, StructureData sdata) throws java.io.IOException
java.io.IOException
public boolean hasNext() throws java.io.IOException
PointFeatureIterator
java.io.IOException
- on i/o errorpublic PointFeature next() throws java.io.IOException
PointFeatureIterator
java.io.IOException
- on i/o errorpublic void setBufferSize(int bytes)
PointFeatureIterator
bytes
- amount of memory in bytespublic void finish()
PointFeatureIterator