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) |
getCollectionFeatureType
getAltName, getAltUnits, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNestedPointFeatureCollectionIterator
getCollectionIterator
getAltName, getAltUnits, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
protected 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.IOException
public LatLonRect getBoundingBox()
DsgFeatureCollection
getBoundingBox
in interface DsgFeatureCollection
getBoundingBox
in class DsgCollectionImpl
public java.util.List<StationFeature> getStationFeatures()
getStationFeatures
in interface StationFeatureCollection
public java.util.List<StationFeature> getStationFeatures(java.util.List<java.lang.String> stnNames)
getStationFeatures
in interface StationFeatureCollection
public java.util.List<StationFeature> getStationFeatures(LatLonRect boundingBox)
getStationFeatures
in interface StationFeatureCollection
public StationFeature findStationFeature(java.lang.String name)
findStationFeature
in interface StationFeatureCollection
public StationProfileFeature getStationProfileFeature(StationFeature s)
getStationProfileFeature
in interface StationProfileFeatureCollection
public StationProfileCollectionImpl subset(java.util.List<StationFeature> stations)
subset
in interface StationProfileFeatureCollection
public StationProfileCollectionImpl subset(LatLonRect boundingBox)
subset
in interface StationProfileFeatureCollection
public StationProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange)
subset
in interface StationProfileFeatureCollection
public StationProfileCollectionImpl subset(java.util.List<StationFeature> stnsWanted, CalendarDateRange dateRange)
subset
in interface StationProfileFeatureCollection
public int compareTo(Station so)
public java.util.Iterator<StationProfileFeature> iterator()
iterator
in interface java.lang.Iterable<StationProfileFeature>
public boolean hasNext() throws java.io.IOException
StationProfileFeatureCollection
hasNext
in interface StationProfileFeatureCollection
java.io.IOException
- on read errorpublic StationProfileFeature next() throws java.io.IOException
StationProfileFeatureCollection
next
in interface StationProfileFeatureCollection
java.io.IOException
- on read errorpublic void resetIteration() throws java.io.IOException
StationProfileFeatureCollection
resetIteration
in interface StationProfileFeatureCollection
java.io.IOException
- on read error