public class StandardTrajectoryCollectionImpl extends PointFeatureCCImpl implements TrajectoryFeatureCollection
collectionFeatureType
Modifier | Constructor and Description |
---|---|
protected |
StandardTrajectoryCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.String altUnits) |
protected |
StandardTrajectoryCollectionImpl(java.lang.String name,
java.util.List<CoordinateAxis> coords) |
Modifier and Type | Method and Description |
---|---|
IOIterator<PointFeatureCollection> |
getCollectionIterator()
General way to handle iterations on all classes that implement this interface.
|
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator() |
boolean |
hasNext()
Use the internal iterator to check if there is another TrajectoryFeature in the iteration.
|
java.util.Iterator<TrajectoryFeature> |
iterator() |
TrajectoryFeature |
next()
Use the internal iterator to get the next TrajectoryFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the TrajectoryFeatures in this Collection.
|
TrajectoryFeatureCollection |
subset(LatLonRect boundingBox) |
getCollectionFeatureType
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
protected StandardTrajectoryCollectionImpl(java.lang.String name, CalendarDateUnit timeUnit, java.lang.String altUnits)
protected StandardTrajectoryCollectionImpl(java.lang.String name, java.util.List<CoordinateAxis> coords)
public TrajectoryFeatureCollection subset(LatLonRect boundingBox)
subset
in interface TrajectoryFeatureCollection
public java.util.Iterator<TrajectoryFeature> iterator()
iterator
in interface java.lang.Iterable<TrajectoryFeature>
public PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws java.io.IOException
getPointFeatureCollectionIterator
in interface TrajectoryFeatureCollection
java.io.IOException
public IOIterator<PointFeatureCollection> getCollectionIterator() throws java.io.IOException
PointFeatureCC
getCollectionIterator
in interface PointFeatureCC
java.io.IOException
public boolean hasNext() throws java.io.IOException
TrajectoryFeatureCollection
hasNext
in interface TrajectoryFeatureCollection
java.io.IOException
- on read errorpublic TrajectoryFeature next()
TrajectoryFeatureCollection
next
in interface TrajectoryFeatureCollection
public void resetIteration() throws java.io.IOException
TrajectoryFeatureCollection
resetIteration
in interface TrajectoryFeatureCollection
java.io.IOException
- on read error