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