|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOIterator<DataType>
Interface which mimics the Iterator interface but allows IOExceptions to be thrown by the implementation.
If the implementation needs to implement some sort of cleanup operation,
implement CloseableIOIterator instead.
| Nested Class Summary | |
|---|---|
static class |
IOIterator.Adapter<DataType>
Deprecated. use RmiioUtil.adapt(java.util.Iterator extends T>) instead |
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true iff the iteration has more elements. |
DataType |
next()
Returns the next element in the iteration. |
| Method Detail |
|---|
boolean hasNext()
throws IOException
true iff the iteration has more elements.
IOException
DataType next()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||