Package ucar.nc2.dt
Interface DataIterator
-
- All Superinterfaces:
Iterator
- All Known Implementing Classes:
DataIteratorAdapter,DatatypeIterator
public interface DataIterator extends Iterator
Deprecated.use ucar.nc2.ft.*Just like java.util.Iterator, but may throw IOException on nextData() call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanhasNext()Deprecated.true if another "DataType" object is availableObjectnext()Deprecated.use nextData()ObjectnextData()Deprecated.Returns the next "DataType" object-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Deprecated.true if another "DataType" object is available
-
nextData
Object nextData() throws IOException
Deprecated.Returns the next "DataType" object- Returns:
- the next "DataType" object
- Throws:
IOException
-
next
Object next()
Deprecated.use nextData()Returns the next "DataType" object.- Specified by:
nextin interfaceIterator- Throws:
RuntimeException- (unchecked) instead of IOException.
-
-