ucar.nc2.dt
Interface DataIterator

All Superinterfaces:
java.util.Iterator
All Known Implementing Classes:
DataIteratorAdapter, DatatypeIterator

public interface DataIterator
extends java.util.Iterator

Just like java.util.Iterator, but may throw IOException on nextData() call.

Author:
caron

Method Summary
 boolean hasNext()
          true if another "DataType" object is available
 java.lang.Object next()
          Deprecated. use nextData()
 java.lang.Object nextData()
          Returns the next "DataType" object
 
Methods inherited from interface java.util.Iterator
remove
 

Method Detail

hasNext

boolean hasNext()
true if another "DataType" object is available

Specified by:
hasNext in interface java.util.Iterator

nextData

java.lang.Object nextData()
                          throws java.io.IOException
Returns the next "DataType" object

Returns:
the next "DataType" object
Throws:
java.io.IOException

next

java.lang.Object next()
Deprecated. use nextData()

Returns the next "DataType" object.

Specified by:
next in interface java.util.Iterator
Throws:
java.lang.RuntimeException - (unchecked) instead of IOException.