Package ucar.nc2.ft
Interface ProfileFeatureCollection
-
- All Superinterfaces:
DsgFeatureCollection,Iterable<ProfileFeature>,PointFeatureCC
- All Known Implementing Classes:
StandardProfileCollectionImpl
public interface ProfileFeatureCollection extends PointFeatureCC, Iterable<ProfileFeature>
A collection of ProfileFeature.- Since:
- Mar 19, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PointFeatureCollectionIteratorgetPointFeatureCollectionIterator()Deprecated.use foreachbooleanhasNext()Deprecated.use foreachProfileFeaturenext()Deprecated.use foreachvoidresetIteration()Deprecated.use foreachProfileFeatureCollectionsubset(LatLonRect boundingBox)Subset this collection by boundingBoxProfileFeatureCollectionsubset(LatLonRect boundingBox, CalendarDateRange dateRange)-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCC
getCollectionIterator
-
-
-
-
Method Detail
-
subset
ProfileFeatureCollection subset(LatLonRect boundingBox)
Subset this collection by boundingBox- Parameters:
boundingBox- want only profiles in this lat/lon bounding box.- Returns:
- subsetted collection, may be null if empty
-
subset
ProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange)
-
hasNext
boolean hasNext() throws IOExceptionDeprecated.use foreachUse the internal iterator to check if there is another ProfileFeature in the iteration.- Returns:
- true is there is another ProfileFeature in the iteration.
- Throws:
IOException- on read error
-
next
ProfileFeature next() throws IOException
Deprecated.use foreachUse the internal iterator to get the next ProfileFeature in the iteration. You must call hasNext() before you call this.- Returns:
- the next ProfileFeature in the iteration
- Throws:
IOException- on read error
-
resetIteration
void resetIteration() throws IOExceptionDeprecated.use foreachReset the internal iterator for another iteration over the ProfileFeatures in this Collection.- Throws:
IOException- on read error
-
getPointFeatureCollectionIterator
PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
Deprecated.use foreach- Throws:
IOException
-
-