Package ucar.nc2.util
Interface IOIterator<T>
- All Superinterfaces:
AutoCloseable,Closeable
Deprecated.
will move in ver6
A Closeable Iterator that can throw an IOException
-
Method Summary
-
Method Details
-
hasNext
Deprecated.Returnstrueif the iteration has more elements. (In other words, returnstrueifnext()would return an element rather than throwing an exception.)- Returns:
trueif the iteration has more elements- Throws:
IOException- on read error
-
next
Deprecated.Returns the next element in the iteration.- Returns:
- the next element in the iteration
- Throws:
IOException- on read errorNoSuchElementException- if the iteration has no more elements
-