public class StandardProfileCollectionImpl extends OneNestedPointCollectionImpl implements ProfileFeatureCollection
npts| Modifier | Constructor and Description |
|---|---|
protected |
StandardProfileCollectionImpl(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 ProfileFeature in the iteration.
|
ProfileFeature |
next()
Use the internal iterator to get the next ProfileFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the ProfileFeatures in this Collection.
|
ProfileFeatureCollection |
subset(LatLonRect boundingBox)
Subset this collection by boundingBox
|
flatten, flatten, getCollectionFeatureType, getName, getNestedPointFeatureCollectionIterator, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, flatten, getNestedPointFeatureCollectionIterator, isMultipleNested, sizegetCollectionFeatureType, getNameprotected StandardProfileCollectionImpl(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
ProfileFeatureCollectionhasNext in interface ProfileFeatureCollectionIOException - on read errorpublic ProfileFeature next() throws IOException
ProfileFeatureCollectionnext in interface ProfileFeatureCollectionIOException - on read errorpublic void resetIteration()
throws IOException
ProfileFeatureCollectionresetIteration in interface ProfileFeatureCollectionIOException - on read errorpublic ProfileFeatureCollection subset(LatLonRect boundingBox) throws IOException
ProfileFeatureCollectionsubset in interface NestedPointFeatureCollectionsubset in interface ProfileFeatureCollectionboundingBox - want only profiles in this lat/lon bounding box.IOException - on read errorCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.