E
- the type of elements returned by this iterator.final class UncheckedIOIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
Iterator
for a IOIterator
that throws UncheckedIOException
instead of IOException
.
Keep package-private for now.Modifier and Type | Field and Description |
---|---|
private IOIterator<E> |
delegate |
Constructor and Description |
---|
UncheckedIOIterator(IOIterator<E> delegate)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
private final IOIterator<E> delegate
UncheckedIOIterator(IOIterator<E> delegate)
delegate
- The delegate