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) |
getCollectionFeatureType
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
protected StandardProfileCollectionImpl(java.lang.String name, CalendarDateUnit timeUnit, java.lang.String altUnits)
public ProfileFeatureCollection subset(LatLonRect boundingBox)
ProfileFeatureCollection
subset
in interface ProfileFeatureCollection
boundingBox
- want only profiles in this lat/lon bounding box.public ProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange)
subset
in interface ProfileFeatureCollection
public java.util.Iterator<ProfileFeature> iterator()
iterator
in interface java.lang.Iterable<ProfileFeature>
public IOIterator<PointFeatureCollection> getCollectionIterator() throws java.io.IOException
PointFeatureCC
getCollectionIterator
in interface PointFeatureCC
java.io.IOException
public PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws java.io.IOException
getPointFeatureCollectionIterator
in interface ProfileFeatureCollection
java.io.IOException
public boolean hasNext() throws java.io.IOException
ProfileFeatureCollection
hasNext
in interface ProfileFeatureCollection
java.io.IOException
- on read errorpublic ProfileFeature next()
ProfileFeatureCollection
next
in interface ProfileFeatureCollection
public void resetIteration() throws java.io.IOException
ProfileFeatureCollection
resetIteration
in interface ProfileFeatureCollection
java.io.IOException
- on read error