Package org.apache.commons.io.function
Class UncheckedIOIterator<E>
- java.lang.Object
-
- org.apache.commons.io.function.UncheckedIOIterator<E>
-
- Type Parameters:
E- the type of elements returned by this iterator.
- All Implemented Interfaces:
java.util.Iterator<E>
final class UncheckedIOIterator<E> extends java.lang.Object implements java.util.Iterator<E>AnIteratorfor anIOIteratorthat throwsUncheckedIOExceptioninstead ofIOException.Keep package-private for now.
-
-
Field Summary
Fields Modifier and Type Field Description private IOIterator<E>delegate
-
Constructor Summary
Constructors Constructor Description UncheckedIOIterator(IOIterator<E> delegate)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()voidremove()
-
-
-
Field Detail
-
delegate
private final IOIterator<E> delegate
-
-
Constructor Detail
-
UncheckedIOIterator
UncheckedIOIterator(IOIterator<E> delegate)
Constructs a new instance.- Parameters:
delegate- The delegate
-
-