public abstract class TWrappingStreamImpl<T,S> extends TSimpleStreamImpl<T>
TStream.Builder<T>
Constructor and Description |
---|
TWrappingStreamImpl(TSimpleStreamImpl<S> sourceStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
estimateSize() |
boolean |
next(Predicate<? super T> consumer) |
protected abstract Predicate<S> |
wrap(Predicate<? super T> consumer) |
allMatch, anyMatch, collect, collect, count, distinct, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, isParallel, iterator, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, reduce, sequential, skip, sorted, sorted, spliterator, toArray, toArray, unordered
public TWrappingStreamImpl(TSimpleStreamImpl<S> sourceStream)
public boolean next(Predicate<? super T> consumer)
next
in class TSimpleStreamImpl<T>
protected int estimateSize()
estimateSize
in class TSimpleStreamImpl<T>
public void close() throws Exception
close
in interface AutoCloseable
close
in class TSimpleStreamImpl<T>
Exception
Copyright © 2019. All rights reserved.