public class StandardProfileCollectionImpl extends PointFeatureCCImpl implements ProfileFeatureCollection
collectionFeatureType| Modifier | Constructor and Description |
|---|---|
protected |
StandardProfileCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.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 ProfileFeature in the iteration.
|
java.util.Iterator<ProfileFeature> |
iterator() |
ProfileFeature |
next()
Use the internal iterator to get the next ProfileFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the ProfileFeatures in this Collection.
|
ProfileFeatureCollection |
subset(LatLonRect boundingBox)
Subset this collection by boundingBox
|
ProfileFeatureCollection |
subset(LatLonRect boundingBox,
CalendarDateRange dateRange) |
getCollectionFeatureTypegetAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, sizeprotected StandardProfileCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.String altUnits)
public ProfileFeatureCollection subset(LatLonRect boundingBox)
ProfileFeatureCollectionsubset in interface ProfileFeatureCollectionboundingBox - want only profiles in this lat/lon bounding box.public ProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange)
subset in interface ProfileFeatureCollectionpublic java.util.Iterator<ProfileFeature> iterator()
iterator in interface java.lang.Iterable<ProfileFeature>public IOIterator<PointFeatureCollection> getCollectionIterator() throws java.io.IOException
PointFeatureCCgetCollectionIterator in interface PointFeatureCCjava.io.IOExceptionpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws java.io.IOException
getPointFeatureCollectionIterator in interface ProfileFeatureCollectionjava.io.IOExceptionpublic boolean hasNext()
throws java.io.IOException
ProfileFeatureCollectionhasNext in interface ProfileFeatureCollectionjava.io.IOException - on read errorpublic ProfileFeature next()
ProfileFeatureCollectionnext in interface ProfileFeatureCollectionpublic void resetIteration()
throws java.io.IOException
ProfileFeatureCollectionresetIteration in interface ProfileFeatureCollectionjava.io.IOException - on read error