T - the type of the stream elements.final class IOSpliteratorAdapter<T> extends java.lang.Object implements IOSpliterator<T>
Spliterator as an IOSpliterator.| Modifier and Type | Field and Description |
|---|---|
private java.util.Spliterator<T> |
delegate |
| Constructor and Description |
|---|
IOSpliteratorAdapter(java.util.Spliterator<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <E> IOSpliteratorAdapter<E> |
adapt(java.util.Spliterator<E> delegate)
Adapts the given Spliterator as an IOSpliterator.
|
java.util.Spliterator<T> |
unwrap()
Unwraps this instance and returns the underlying
Spliterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSpliterator, characteristics, estimateSize, forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics, tryAdvance, trySplitprivate final java.util.Spliterator<T> delegate
IOSpliteratorAdapter(java.util.Spliterator<T> delegate)
static <E> IOSpliteratorAdapter<E> adapt(java.util.Spliterator<E> delegate)
IOSpliteratoradapt in interface IOSpliterator<T>E - the type of the stream elements.delegate - The iterator to adaptpublic java.util.Spliterator<T> unwrap()
IOSpliteratorSpliterator.
Implementations may not have anything to unwrap and that behavior is undefined for now.
unwrap in interface IOSpliterator<T>