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