public abstract class SectionCollectionImpl extends MultipleNestedPointCollectionImpl implements SectionFeatureCollection
name
Modifier | Constructor and Description |
---|---|
protected |
SectionCollectionImpl(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 SectionFeature in the iteration.
|
SectionFeature |
next()
Use the internal iterator to get the next SectionFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the SectionFeatures in this Collection.
|
SectionFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted NestedPointFeatureCollection based on a LatLonRect
|
flatten, flatten, getCollectionFeatureType, getName, isMultipleNested, setSize, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flatten, flatten, getNestedPointFeatureCollectionIterator, isMultipleNested, size
getCollectionFeatureType, getName
protected SectionCollectionImpl(String name)
public PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollection
getPointFeatureCollectionIterator
in interface NestedPointFeatureCollection
getPointFeatureCollectionIterator
in class MultipleNestedPointCollectionImpl
bufferSize
- how many bytes can be used to buffer data, use -1 to use default.IOException
- on read errorpublic boolean hasNext() throws IOException
SectionFeatureCollection
hasNext
in interface SectionFeatureCollection
IOException
- on read errorpublic SectionFeature next() throws IOException
SectionFeatureCollection
next
in interface SectionFeatureCollection
IOException
- on read errorpublic void resetIteration() throws IOException
SectionFeatureCollection
resetIteration
in interface SectionFeatureCollection
IOException
- on read errorpublic SectionFeatureCollection subset(LatLonRect boundingBox) throws IOException
NestedPointFeatureCollection
subset
in interface NestedPointFeatureCollection
boundingBox
- spatial subsetIOException
- on i/o errorCopyright © 1999–2013 UCAR/Unidata. All rights reserved.