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 PointFeatureCollectionIterator
getPointFeatureCollectionIterator()
Deprecated.use foreachboolean
hasNext()
Deprecated.use foreachProfileFeature
next()
Deprecated.use foreachvoid
resetIteration()
Deprecated.use foreachProfileFeatureCollection
subset(LatLonRect boundingBox)
Subset this collection by boundingBoxProfileFeatureCollection
subset(LatLonRect boundingBox, CalendarDateRange dateRange)
-
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
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 IOException
Deprecated.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 IOException
Deprecated.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
-
-