ucar.nc2.ft
Interface SectionFeatureCollection

All Superinterfaces:
FeatureCollection, NestedPointFeatureCollection
All Known Implementing Classes:
SectionCollectionImpl, StandardSectionCollectionImpl

public interface SectionFeatureCollection
extends NestedPointFeatureCollection

A collection of SectionFeatures.

Since:
Mar 19, 2008
Author:
caron

Method Summary
 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.
 
Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection
flatten, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, isMultipleNested, size, subset
 
Methods inherited from interface ucar.nc2.ft.FeatureCollection
getCollectionFeatureType, getName
 

Method Detail

hasNext

boolean hasNext()
                throws IOException
Use the internal iterator to check if there is another SectionFeature in the iteration.

Returns:
true is there is another SectionFeature in the iteration.
Throws:
IOException - on read error

next

SectionFeature next()
                    throws IOException
Use the internal iterator to get the next SectionFeature in the iteration. You must call hasNext() before you call this.

Returns:
the next SectionFeature in the iteration
Throws:
IOException - on read error

resetIteration

void resetIteration()
                    throws IOException
Reset the internal iterator for another iteration over the SectionFeatures in this Collection.

Throws:
IOException - on read error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.