public abstract class PointIteratorFromStructureData extends PointIteratorAbstract
PointIteratorAbstract.FiltercalcBounds, 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, setCalculateBoundspublic PointIteratorFromStructureData(StructureDataIterator structIter, PointFeatureIterator.Filter filter) throws java.io.IOException
structIter - original iteratorfilter - optional filterjava.io.IOExceptionprotected abstract PointFeature makeFeature(int recnum, StructureData sdata) throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
throws java.io.IOException
PointFeatureIteratorjava.io.IOException - on i/o errorpublic PointFeature next() throws java.io.IOException
PointFeatureIteratorjava.io.IOException - on i/o errorpublic void setBufferSize(int bytes)
PointFeatureIteratorbytes - amount of memory in bytespublic void finish()
PointFeatureIterator