public abstract class SectionCollectionImpl extends PointFeatureCCCImpl implements TrajectoryProfileFeatureCollection
Modifier and Type | Field and Description |
---|---|
protected PointFeatureCCIterator |
localIterator |
collectionFeatureType
Modifier | Constructor and Description |
---|---|
protected |
SectionCollectionImpl(String name,
CalendarDateUnit timeUnit,
String altUnits) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Use the internal iterator to check if there is another SectionFeature in the iteration.
|
TrajectoryProfileFeature |
next()
Use the internal iterator to get the next SectionFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the SectionFeatures in this Collection.
|
getCollectionFeatureType
getAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNestedPointFeatureCollectionIterator
getCollectionIterator
getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
forEach, iterator, spliterator
protected PointFeatureCCIterator localIterator
protected SectionCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
public boolean hasNext() throws IOException
TrajectoryProfileFeatureCollection
hasNext
in interface TrajectoryProfileFeatureCollection
IOException
- on read errorpublic TrajectoryProfileFeature next() throws IOException
TrajectoryProfileFeatureCollection
next
in interface TrajectoryProfileFeatureCollection
IOException
- on read errorpublic void resetIteration() throws IOException
TrajectoryProfileFeatureCollection
resetIteration
in interface TrajectoryProfileFeatureCollection
IOException
- on read error