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>
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
isParallel
public boolean isParallel()- Specified by:
isParallel
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
iterator
- Specified by:
iterator
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
onClose
- Specified by:
onClose
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
parallel
- Specified by:
parallel
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
sequential
- Specified by:
sequential
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
spliterator
- Specified by:
spliterator
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-
unordered
- Specified by:
unordered
in interfaceBaseStream<T,
S extends IOBaseStream<T, S, B>>
-