public abstract class StationProfileCollectionImpl extends PointFeatureCCCImpl implements StationProfileFeatureCollection
| Modifier and Type | Class and Description |
|---|---|
static class |
StationProfileCollectionImpl.NestedCollectionIOIteratorAdapter<T> |
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCCIterator |
localIterator |
collectionFeatureType| Constructor and Description |
|---|
StationProfileCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.String altUnits) |
StationProfileCollectionImpl(java.lang.String name,
java.util.List<CoordinateAxis> coordVars) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
protected abstract StationHelper |
createStationHelper() |
StationFeature |
findStationFeature(java.lang.String name) |
LatLonRect |
getBoundingBox()
The boundingBox for the FeatureCollection.
|
java.util.List<StationFeature> |
getStationFeatures() |
java.util.List<StationFeature> |
getStationFeatures(LatLonRect boundingBox) |
java.util.List<StationFeature> |
getStationFeatures(java.util.List<java.lang.String> stnNames) |
protected StationHelper |
getStationHelper() |
StationProfileFeature |
getStationProfileFeature(StationFeature s) |
boolean |
hasNext()
Use the internal iterator to check if there is another StationProfileFeature in the iteration.
|
java.util.Iterator<StationProfileFeature> |
iterator() |
StationProfileFeature |
next()
Use the internal iterator to get the next StationProfileFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the StationProfileFeature in this Collection.
|
StationProfileCollectionImpl |
subset(LatLonRect boundingBox) |
StationProfileFeatureCollection |
subset(LatLonRect boundingBox,
CalendarDateRange dateRange) |
StationProfileCollectionImpl |
subset(java.util.List<StationFeature> stations) |
StationProfileCollectionImpl |
subset(java.util.List<StationFeature> stnsWanted,
CalendarDateRange dateRange) |
getCollectionFeatureTypegetAltName, getAltUnits, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNestedPointFeatureCollectionIteratorgetCollectionIteratorgetAltName, getAltUnits, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, sizeprotected PointFeatureCCIterator localIterator
public StationProfileCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.String altUnits)
public StationProfileCollectionImpl(java.lang.String name,
java.util.List<CoordinateAxis> coordVars)
protected StationHelper getStationHelper()
protected abstract StationHelper createStationHelper() throws java.io.IOException
java.io.IOExceptionpublic LatLonRect getBoundingBox()
DsgFeatureCollectiongetBoundingBox in interface DsgFeatureCollectiongetBoundingBox in class DsgCollectionImplpublic java.util.List<StationFeature> getStationFeatures()
getStationFeatures in interface StationFeatureCollectionpublic java.util.List<StationFeature> getStationFeatures(java.util.List<java.lang.String> stnNames)
getStationFeatures in interface StationFeatureCollectionpublic java.util.List<StationFeature> getStationFeatures(LatLonRect boundingBox)
getStationFeatures in interface StationFeatureCollectionpublic StationFeature findStationFeature(java.lang.String name)
findStationFeature in interface StationFeatureCollectionpublic StationProfileFeature getStationProfileFeature(StationFeature s)
getStationProfileFeature in interface StationProfileFeatureCollectionpublic StationProfileCollectionImpl subset(java.util.List<StationFeature> stations)
subset in interface StationProfileFeatureCollectionpublic StationProfileCollectionImpl subset(LatLonRect boundingBox)
subset in interface StationProfileFeatureCollectionpublic StationProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange)
subset in interface StationProfileFeatureCollectionpublic StationProfileCollectionImpl subset(java.util.List<StationFeature> stnsWanted, CalendarDateRange dateRange)
subset in interface StationProfileFeatureCollectionpublic int compareTo(Station so)
public java.util.Iterator<StationProfileFeature> iterator()
iterator in interface java.lang.Iterable<StationProfileFeature>public boolean hasNext()
throws java.io.IOException
StationProfileFeatureCollectionhasNext in interface StationProfileFeatureCollectionjava.io.IOException - on read errorpublic StationProfileFeature next() throws java.io.IOException
StationProfileFeatureCollectionnext in interface StationProfileFeatureCollectionjava.io.IOException - on read errorpublic void resetIteration()
throws java.io.IOException
StationProfileFeatureCollectionresetIteration in interface StationProfileFeatureCollectionjava.io.IOException - on read error