ucar.nc2.ft
Interface TrajectoryFeatureCollection

All Superinterfaces:
FeatureCollection, NestedPointFeatureCollection

public interface TrajectoryFeatureCollection
extends NestedPointFeatureCollection

A collection of TrajectoryFeatures

Since:
Mar 19, 2008
Author:
caron

Method Summary
 boolean hasNext()
          Use the internal iterator to check if there is another TrajectoryFeature in the iteration.
 TrajectoryFeature next()
          Use the internal iterator to get the next TrajectoryFeature in the iteration.
 void resetIteration()
          Reset the internal iterator for another iteration over the TrajectoryFeatures 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 java.io.IOException
Use the internal iterator to check if there is another TrajectoryFeature in the iteration.

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

next

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

Returns:
the next TrajectoryFeature in the iteration
Throws:
java.io.IOException - on read error

resetIteration

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

Throws:
java.io.IOException - on read error