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 boolean
hasNext()
Deprecated.true if another "DataType" object is availableObject
next()
Deprecated.use nextData()Object
nextData()
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:
next
in interfaceIterator
- Throws:
RuntimeException
- (unchecked) instead of IOException.
-
-