ucar.nc2.ft
Interface SectionFeature

All Superinterfaces:
FeatureCollection, NestedPointFeatureCollection
All Known Implementing Classes:
SectionFeatureImpl

public interface SectionFeature
extends NestedPointFeatureCollection

A collection of profiles which originate along a trajectory.

Since:
Mar 18, 2008
Author:
caron

Method Summary
 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 ProfileFeature in this Collection.
 int size()
          The number of profiles along the trajectory.
 
Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection
flatten, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, isMultipleNested, subset
 
Methods inherited from interface ucar.nc2.ft.FeatureCollection
getCollectionFeatureType, getName
 

Method Detail

size

int size()
The number of profiles along the trajectory.

Specified by:
size in interface NestedPointFeatureCollection
Returns:
number of profiles along the trajectory.

hasNext

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

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

next

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

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

resetIteration

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

Throws:
IOException - on read error


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