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