Package ucar.nc2.ft
Interface TrajectoryFeatureCollection
-
- All Superinterfaces:
DsgFeatureCollection
,Iterable<TrajectoryFeature>
,PointFeatureCC
- All Known Implementing Classes:
StandardTrajectoryCollectionImpl
public interface TrajectoryFeatureCollection extends PointFeatureCC, Iterable<TrajectoryFeature>
A collection of TrajectoryFeatures- Since:
- Mar 19, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PointFeatureCollectionIterator
getPointFeatureCollectionIterator()
Deprecated.use foreachboolean
hasNext()
Deprecated.use foreachTrajectoryFeature
next()
Deprecated.use foreachvoid
resetIteration()
Deprecated.use foreachTrajectoryFeatureCollection
subset(LatLonRect boundingBox)
-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCC
getCollectionIterator
-
-
-
-
Method Detail
-
subset
TrajectoryFeatureCollection subset(LatLonRect boundingBox)
-
hasNext
boolean hasNext() throws IOException
Deprecated.use foreachUse the internal iterator to check if there is another TrajectoryFeature in the iteration.- Returns:
- true is there is another TrajectoryFeature in the iteration.
- Throws:
IOException
- on read error
-
next
TrajectoryFeature next() throws IOException
Deprecated.use foreachUse the internal iterator to get the next TrajectoryFeature in the iteration. You must call hasNext() before you call this.- Returns:
- the next TrajectoryFeature in the iteration
- Throws:
IOException
- on read error
-
resetIteration
void resetIteration() throws IOException
Deprecated.use foreachReset the internal iterator for another iteration over the TrajectoryFeatures in this Collection.- Throws:
IOException
- on read error
-
getPointFeatureCollectionIterator
PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
Deprecated.use foreach- Throws:
IOException
-
-