T - the type of the stream elements.S - the type of the stream extending IOBaseStream.abstract class IOBaseStreamAdapter<T,S extends IOBaseStream<T,S,B>,B extends java.util.stream.BaseStream<T,B>> extends java.lang.Object implements IOBaseStream<T,S,B>
IOBaseStream implementation.
Keep package-private for now.| Modifier and Type | Field and Description |
|---|---|
private B |
delegate
The underlying base stream.
|
| 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.