ucar.nc2.ft.point.collection
Class CompositePointCollection
java.lang.Object
ucar.nc2.ft.point.PointCollectionImpl
ucar.nc2.ft.point.collection.CompositePointCollection
- All Implemented Interfaces:
- FeatureCollection, UpdateableCollection, PointFeatureCollection
public class CompositePointCollection
- extends PointCollectionImpl
- implements UpdateableCollection
PointCollection composed of other PointCollections
- Since:
- May 19, 2009
- Author:
- caron
Methods inherited from class ucar.nc2.ft.point.PointCollectionImpl |
calcBounds, finish, getBoundingBox, getCollectionFeatureType, getDateRange, getName, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataVariables
protected List<VariableSimpleIF> dataVariables
CompositePointCollection
protected CompositePointCollection(String name,
TimedCollection pointCollections)
throws IOException
- Throws:
IOException
getDataVariables
public List<VariableSimpleIF> getDataVariables()
subset
public PointFeatureCollection subset(LatLonRect boundingBox,
DateRange dateRange)
throws IOException
- Description copied from interface:
PointFeatureCollection
- Subset this collection by boundingBox and/or dateRange
- Specified by:
subset
in interface PointFeatureCollection
- Overrides:
subset
in class PointCollectionImpl
- Parameters:
boundingBox
- only points in this lat/lon bounding box. may be null.dateRange
- only points in this date range. may be null.
- Returns:
- subsetted collection, may be null if empty
- Throws:
IOException
- on read error
getPointFeatureIterator
public PointFeatureIterator getPointFeatureIterator(int bufferSize)
throws IOException
- Description copied from interface:
PointFeatureCollection
- Get an iterator over the PointFeatures of this collection. call PointFeatureIterator.finish() when done
- Specified by:
getPointFeatureIterator
in interface PointFeatureCollection
- Parameters:
bufferSize
- how many bytes can be used to buffer data, use -1 to use default.
- Returns:
- iterator over the PointFeatures of this collection
- Throws:
IOException
- on read error
update
public void update()
- Specified by:
update
in interface UpdateableCollection
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.