T - the type of the stream elements.S - the type of the stream extending IOBaseStream.B - the type of the base stream.abstract class IOBaseStreamAdapter<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>> extends Object implements IOBaseStream<T,S,B>
IOBaseStream implementation.
Keep package-private for now.| Constructor and Description |
|---|
IOBaseStreamAdapter(B delegate)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
B |
unwrap()
Unwraps this instance and returns the underlying
Stream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBaseStream, close, isParallel, iterator, onClose, parallel, sequential, spliterator, unordered, wrapIOBaseStreamAdapter(B delegate)
delegate - the delegate.public B unwrap()
IOBaseStreamStream.
Implementations may not have anything to unwrap and that behavior is undefined for now.
unwrap in interface IOBaseStream<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>>