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(String name,
CalendarDateUnit timeUnit,
String altUnits) |
getCollectionFeatureType
getAltUnits, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNestedPointFeatureCollectionIterator
getCollectionIterator
getAltUnits, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
forEach, spliterator
protected PointFeatureCCIterator localIterator
public StationProfileCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
protected StationHelper getStationHelper()
protected abstract StationHelper createStationHelper() throws IOException
IOException
public LatLonRect getBoundingBox()
DsgFeatureCollection
getBoundingBox
in interface DsgFeatureCollection
getBoundingBox
in class DsgCollectionImpl
public List<StationFeature> getStationFeatures()
getStationFeatures
in interface StationProfileFeatureCollection
public List<StationFeature> getStationFeatures(List<String> stnNames)
getStationFeatures
in interface StationProfileFeatureCollection
public List<StationFeature> getStationFeatures(LatLonRect boundingBox)
getStationFeatures
in interface StationProfileFeatureCollection
public StationFeature findStationFeature(String name)
findStationFeature
in interface StationProfileFeatureCollection
public StationProfileFeature getStationProfileFeature(StationFeature s)
getStationProfileFeature
in interface StationProfileFeatureCollection
public StationProfileCollectionImpl subset(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(List<StationFeature> stnsWanted, CalendarDateRange dateRange)
subset
in interface StationProfileFeatureCollection
public int compareTo(Station so)
public Iterator<StationProfileFeature> iterator()
iterator
in interface Iterable<StationProfileFeature>
public boolean hasNext() throws IOException
StationProfileFeatureCollection
hasNext
in interface StationProfileFeatureCollection
IOException
- on read errorpublic StationProfileFeature next() throws IOException
StationProfileFeatureCollection
next
in interface StationProfileFeatureCollection
IOException
- on read errorpublic void resetIteration() throws IOException
StationProfileFeatureCollection
resetIteration
in interface StationProfileFeatureCollection
IOException
- on read error