public class StandardTrajectoryCollectionImpl extends PointFeatureCCImpl implements TrajectoryFeatureCollection
collectionFeatureType| Modifier | Constructor and Description |
|---|---|
protected |
StandardTrajectoryCollectionImpl(String name,
CalendarDateUnit timeUnit,
String altUnits) |
| 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.
|
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) |
getCollectionFeatureTypegetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, sizeforEach, spliteratorprotected StandardTrajectoryCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
public TrajectoryFeatureCollection subset(LatLonRect boundingBox)
subset in interface TrajectoryFeatureCollectionpublic Iterator<TrajectoryFeature> iterator()
iterator in interface Iterable<TrajectoryFeature>public PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
getPointFeatureCollectionIterator in interface TrajectoryFeatureCollectionIOExceptionpublic IOIterator<PointFeatureCollection> getCollectionIterator() throws IOException
PointFeatureCCgetCollectionIterator in interface PointFeatureCCIOExceptionpublic boolean hasNext()
throws IOException
TrajectoryFeatureCollectionhasNext in interface TrajectoryFeatureCollectionIOException - on read errorpublic TrajectoryFeature next()
TrajectoryFeatureCollectionnext in interface TrajectoryFeatureCollectionpublic void resetIteration()
throws IOException
TrajectoryFeatureCollectionresetIteration in interface TrajectoryFeatureCollectionIOException - on read error