ucar.nc2.ft.point
Class NestedPointCollectionIteratorFiltered

java.lang.Object
  extended by ucar.nc2.ft.point.NestedPointCollectionIteratorFiltered
All Implemented Interfaces:
NestedPointFeatureCollectionIterator

public class NestedPointCollectionIteratorFiltered
extends Object
implements NestedPointFeatureCollectionIterator

Implement NestedPointFeatureCollectionIterator interface

Since:
Mar 20, 2008
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from interface ucar.nc2.ft.NestedPointFeatureCollectionIterator
NestedPointFeatureCollectionIterator.Filter
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBufferSize

public void setBufferSize(int bytes)
Description copied from interface: NestedPointFeatureCollectionIterator
Hint to use this much memory in buffering the iteration. No guarentee that it will be used by the implementation.

Specified by:
setBufferSize in interface NestedPointFeatureCollectionIterator
Parameters:
bytes - amount of memory in bytes

hasNext

public boolean hasNext()
                throws IOException
Description copied from interface: NestedPointFeatureCollectionIterator
true if another Feature object is available

Specified by:
hasNext in interface NestedPointFeatureCollectionIterator
Returns:
true if another Feature object is available
Throws:
IOException - on i/o error

next

public NestedPointFeatureCollection next()
                                  throws IOException
Description copied from interface: NestedPointFeatureCollectionIterator
Returns the next NestedPointFeatureCollection object You must call hasNext() before calling next(), even if you know it will return true.

Specified by:
next in interface NestedPointFeatureCollectionIterator
Returns:
the next NestedPointFeatureCollection object
Throws:
IOException - on i/o error


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