Package org.apache.commons.io.function
Class IOStreamAdapter<T>
java.lang.Object
org.apache.commons.io.function.IOBaseStreamAdapter<T,IOStream<T>,Stream<T>>
org.apache.commons.io.function.IOStreamAdapter<T>
- Type Parameters:
T
- the type of the stream elements.
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IOBaseStream<T,
,IOStream<T>, Stream<T>> IOStream<T>
final class IOStreamAdapter<T>
extends IOBaseStreamAdapter<T,IOStream<T>,Stream<T>>
implements IOStream<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.io.function.IOBaseStreamAdapter
unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.io.function.IOBaseStream
asBaseStream, close, isParallel, iterator, onClose, parallel, sequential, spliterator, unordered, unwrap
Methods inherited from interface org.apache.commons.io.function.IOStream
allMatch, anyMatch, collect, collect, count, distinct, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forAll, forAll, forEach, forEachOrdered, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, peek, reduce, reduce, reduce, skip, sorted, sorted, toArray, toArray
-
Constructor Details
-
IOStreamAdapter
-
-
Method Details
-
adapt
Description copied from interface:IOStream
Constructs a new IOStream for the given Stream.- Type Parameters:
T
- the type of the stream elements.- Parameters:
delegate
- The stream to delegate.- Returns:
- a new IOStream.
-
wrap
Description copied from interface:IOBaseStream
Wraps aStream
.
-