public class CompositePointCollection extends PointCollectionImpl implements UpdateableCollection
PointCollectionImpl.PointCollectionSubset| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<VariableSimpleIF> |
dataVariables |
boundingBox, dateRange, localIterator, name, npts| Modifier | Constructor and Description |
|---|---|
protected |
CompositePointCollection(java.lang.String name,
TimedCollection pointCollections) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<VariableSimpleIF> |
getDataVariables() |
PointFeatureIterator |
getPointFeatureIterator(int bufferSize)
Get an iterator over the PointFeatures of this collection.
|
PointFeatureCollection |
subset(LatLonRect boundingBox,
DateRange dateRange)
Subset this collection by boundingBox and/or dateRange
|
void |
update() |
calcBounds, finish, getBoundingBox, getCollectionFeatureType, getDateRange, getName, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, sizeprotected java.util.List<VariableSimpleIF> dataVariables
protected CompositePointCollection(java.lang.String name,
TimedCollection pointCollections)
throws java.io.IOException
java.io.IOExceptionpublic java.util.List<VariableSimpleIF> getDataVariables()
public PointFeatureCollection subset(LatLonRect boundingBox, DateRange dateRange) throws java.io.IOException
PointFeatureCollectionsubset in interface PointFeatureCollectionsubset in class PointCollectionImplboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.java.io.IOException - on read errorpublic PointFeatureIterator getPointFeatureIterator(int bufferSize) throws java.io.IOException
PointFeatureCollectiongetPointFeatureIterator in interface PointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.java.io.IOException - on read errorpublic void update()
update in interface UpdateableCollection