public class StandardProfileCollectionImpl extends OneNestedPointCollectionImpl implements ProfileFeatureCollection
altUnits, collectionFeatureType, extras, name, npts, timeUnit
Modifier | Constructor and Description |
---|---|
protected |
StandardProfileCollectionImpl(java.lang.String name,
DateUnit timeUnit,
java.lang.String altUnits) |
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, getAltUnits, getCollectionFeatureType, getExtraVariables, getName, getNestedPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, setSize, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flatten, flatten, getAltUnits, getExtraVariables, getNestedPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, size
getCollectionFeatureType, getName
protected StandardProfileCollectionImpl(java.lang.String name, DateUnit timeUnit, java.lang.String altUnits)
public PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws java.io.IOException
NestedPointFeatureCollection
getPointFeatureCollectionIterator
in interface NestedPointFeatureCollection
bufferSize
- how many bytes can be used to buffer data, use -1 to use default.java.io.IOException
- on read errorpublic boolean hasNext() throws java.io.IOException
ProfileFeatureCollection
hasNext
in interface ProfileFeatureCollection
java.io.IOException
- on read errorpublic ProfileFeature next() throws java.io.IOException
ProfileFeatureCollection
next
in interface ProfileFeatureCollection
java.io.IOException
- on read errorpublic void resetIteration() throws java.io.IOException
ProfileFeatureCollection
resetIteration
in interface ProfileFeatureCollection
java.io.IOException
- on read errorpublic ProfileFeatureCollection subset(LatLonRect boundingBox) throws java.io.IOException
ProfileFeatureCollection
subset
in interface NestedPointFeatureCollection
subset
in interface ProfileFeatureCollection
boundingBox
- want only profiles in this lat/lon bounding box.java.io.IOException
- on read error