|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.ft.point.MultipleNestedPointCollectionImpl
ucar.nc2.ft.point.StationProfileCollectionImpl
public abstract class StationProfileCollectionImpl
Abstract superclass for StationProfileFeatureCollection Subclasses must implement getNestedPointFeatureCollection
| Field Summary | |
|---|---|
protected PointFeatureCollectionIterator |
localIterator
|
protected StationHelper |
stationHelper
|
| Fields inherited from class ucar.nc2.ft.point.MultipleNestedPointCollectionImpl |
|---|
name |
| Constructor Summary | |
|---|---|
StationProfileCollectionImpl(java.lang.String name)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Station so)
|
LatLonRect |
getBoundingBox()
Get the bounding box including all the stations. |
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection. |
Station |
getStation(java.lang.String name)
Find a Station by name. |
StationProfileFeature |
getStationProfileFeature(Station s)
Get the StationProfileFeature for a specific Station. |
java.util.List<Station> |
getStations()
Get all the Stations in the collection. |
java.util.List<Station> |
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box. |
boolean |
hasNext()
Use the internal iterator to check if there is another StationProfileFeature in the iteration. |
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. |
protected void |
setStationHelper(StationHelper stationHelper)
|
StationProfileCollectionImpl |
subset(java.util.List<Station> stations)
Get a subsetted StationProfileFeatureCollection |
| Methods inherited from class ucar.nc2.ft.point.MultipleNestedPointCollectionImpl |
|---|
flatten, getCollectionFeatureType, getName, isMultipleNested, setSize, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection |
|---|
flatten, getNestedPointFeatureCollectionIterator, isMultipleNested, size |
| Methods inherited from interface ucar.nc2.ft.FeatureCollection |
|---|
getCollectionFeatureType, getName |
| Field Detail |
|---|
protected StationHelper stationHelper
protected PointFeatureCollectionIterator localIterator
| Constructor Detail |
|---|
public StationProfileCollectionImpl(java.lang.String name)
| Method Detail |
|---|
protected void setStationHelper(StationHelper stationHelper)
public java.util.List<Station> getStations()
StationCollection
getStations in interface StationCollection
public java.util.List<Station> getStations(LatLonRect boundingBox)
throws java.io.IOException
StationCollection
getStations in interface StationCollectionboundingBox - spatial subset
java.io.IOException - on i/o errorpublic Station getStation(java.lang.String name)
StationCollection
getStation in interface StationCollectionname - name/id of the station
public LatLonRect getBoundingBox()
StationCollection
getBoundingBox in interface StationCollection
public StationProfileCollectionImpl subset(java.util.List<Station> stations)
throws java.io.IOException
StationProfileFeatureCollection
subset in interface StationProfileFeatureCollectionstations - only contain these stations
java.io.IOException - on i/o error
public StationProfileFeature getStationProfileFeature(Station s)
throws java.io.IOException
StationProfileFeatureCollection
getStationProfileFeature in interface StationProfileFeatureCollections - at this station
java.io.IOException - on i/o error
public PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize)
throws java.io.IOException
NestedPointFeatureCollection
getPointFeatureCollectionIterator in interface NestedPointFeatureCollectiongetPointFeatureCollectionIterator in class MultipleNestedPointCollectionImplbufferSize - how many bytes can be used to buffer data, use -1 to use default.
java.io.IOException - on read error
public boolean hasNext()
throws java.io.IOException
StationProfileFeatureCollection
hasNext in interface StationProfileFeatureCollectionjava.io.IOException - on read error
public StationProfileFeature next()
throws java.io.IOException
StationProfileFeatureCollection
next in interface StationProfileFeatureCollectionjava.io.IOException - on read error
public void resetIteration()
throws java.io.IOException
StationProfileFeatureCollection
resetIteration in interface StationProfileFeatureCollectionjava.io.IOException - on read errorpublic int compareTo(Station so)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||