public class StandardTrajectoryCollectionImpl extends OneNestedPointCollectionImpl implements TrajectoryFeatureCollection
npts| Modifier | Constructor and Description |
|---|---|
protected |
StandardTrajectoryCollectionImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection.
|
boolean |
hasNext()
Use the internal iterator to check if there is another TrajectoryFeature in the iteration.
|
TrajectoryFeature |
next()
Use the internal iterator to get the next TrajectoryFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the TrajectoryFeatures in this Collection.
|
TrajectoryFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted NestedPointFeatureCollection based on a LatLonRect
|
flatten, flatten, getCollectionFeatureType, getName, getNestedPointFeatureCollectionIterator, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, flatten, getNestedPointFeatureCollectionIterator, isMultipleNested, sizegetCollectionFeatureType, getNameprotected StandardTrajectoryCollectionImpl(String name)
public PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollectiongetPointFeatureCollectionIterator in interface NestedPointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.IOException - on read errorpublic boolean hasNext()
throws IOException
TrajectoryFeatureCollectionhasNext in interface TrajectoryFeatureCollectionIOException - on read errorpublic TrajectoryFeatureCollection subset(LatLonRect boundingBox) throws IOException
NestedPointFeatureCollectionsubset in interface NestedPointFeatureCollectionboundingBox - spatial subsetIOException - on i/o errorpublic TrajectoryFeature next() throws IOException
TrajectoryFeatureCollectionnext in interface TrajectoryFeatureCollectionIOException - on read errorpublic void resetIteration()
throws IOException
TrajectoryFeatureCollectionresetIteration in interface TrajectoryFeatureCollectionIOException - on read errorCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.