Package org.apache.commons.io.function
Class UncheckedIOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends BaseStream<T,B>>
java.lang.Object
org.apache.commons.io.function.UncheckedIOBaseStream<T,S,B>
- Type Parameters:
T- the type of the stream elements.S- the type of the IO stream extendingIOBaseStream.B- the type of the stream extendingBaseStream.
- All Implemented Interfaces:
AutoCloseable,BaseStream<T,B>
final class UncheckedIOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends BaseStream<T,B>>
extends Object
implements BaseStream<T,B>
An
BaseStream for a IOBaseStream that throws UncheckedIOException instead of
IOException.
Keep package-private for now.-
Field Details
-
delegate
-
-
Constructor Details
-
UncheckedIOBaseStream
UncheckedIOBaseStream(S delegate)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
iterator
- Specified by:
iteratorin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
onClose
- Specified by:
onClosein interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
parallel
- Specified by:
parallelin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
sequential
- Specified by:
sequentialin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
spliterator
- Specified by:
spliteratorin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-
unordered
- Specified by:
unorderedin interfaceBaseStream<T,S extends IOBaseStream<T, S, B>>
-