public class StandardProfileCollectionImpl extends PointFeatureCCImpl implements ProfileFeatureCollection
collectionFeatureType| Modifier | Constructor and Description |
|---|---|
protected |
StandardProfileCollectionImpl(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 ProfileFeature in the iteration.
|
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) |
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 StandardProfileCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
public ProfileFeatureCollection subset(LatLonRect boundingBox) throws IOException
ProfileFeatureCollectionsubset in interface ProfileFeatureCollectionboundingBox - want only profiles in this lat/lon bounding box.IOException - on read errorpublic ProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
subset in interface ProfileFeatureCollectionIOExceptionpublic Iterator<ProfileFeature> iterator()
iterator in interface Iterable<ProfileFeature>public IOIterator<PointFeatureCollection> getCollectionIterator() throws IOException
PointFeatureCCgetCollectionIterator in interface PointFeatureCCIOExceptionpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
getPointFeatureCollectionIterator in interface ProfileFeatureCollectionIOExceptionpublic boolean hasNext()
throws IOException
ProfileFeatureCollectionhasNext in interface ProfileFeatureCollectionIOException - on read errorpublic ProfileFeature next() throws IOException
ProfileFeatureCollectionnext in interface ProfileFeatureCollectionIOException - on read errorpublic void resetIteration()
throws IOException
ProfileFeatureCollectionresetIteration in interface ProfileFeatureCollectionIOException - on read error