ucar.nc2.ft
Interface NestedPointFeatureCollectionIterator


public interface NestedPointFeatureCollectionIterator

An iterator over NestedPointFeatureCollection.

Since:
Mar 20, 2008
Author:
caron

Nested Class Summary
static interface NestedPointFeatureCollectionIterator.Filter
          A filter on nestedPointFeatureCollection
 
Method Summary
 boolean hasNext()
          true if another Feature object is available
 NestedPointFeatureCollection next()
          Returns the next NestedPointFeatureCollection object You must call hasNext() before calling next(), even if you know it will return true.
 void setBufferSize(int bytes)
          Hint to use this much memory in buffering the iteration.
 

Method Detail

hasNext

boolean hasNext()
                throws java.io.IOException
true if another Feature object is available

Returns:
true if another Feature object is available
Throws:
java.io.IOException - on i/o error

next

NestedPointFeatureCollection next()
                                  throws java.io.IOException
Returns the next NestedPointFeatureCollection object You must call hasNext() before calling next(), even if you know it will return true.

Returns:
the next NestedPointFeatureCollection object
Throws:
java.io.IOException - on i/o error

setBufferSize

void setBufferSize(int bytes)
Hint to use this much memory in buffering the iteration. No guarentee that it will be used by the implementation.

Parameters:
bytes - amount of memory in bytes