public class TLimitingDoubleStreamImpl extends TSimpleDoubleStreamImpl
TDoubleStream.Builder
Constructor and Description |
---|
TLimitingDoubleStreamImpl(TSimpleDoubleStreamImpl sourceStream,
int limit) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
estimateSize() |
boolean |
next(DoublePredicate consumer) |
allMatch, anyMatch, average, boxed, collect, count, distinct, filter, findAny, findFirst, flatMap, forEach, forEachOrdered, isParallel, iterator, limit, map, mapToInt, mapToLong, mapToObj, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, sequential, skip, sorted, spliterator, sum, toArray, unordered
public TLimitingDoubleStreamImpl(TSimpleDoubleStreamImpl sourceStream, int limit)
public boolean next(DoublePredicate consumer)
next
in class TSimpleDoubleStreamImpl
protected int estimateSize()
estimateSize
in class TSimpleDoubleStreamImpl
public void close() throws Exception
close
in interface AutoCloseable
close
in class TSimpleDoubleStreamImpl
Exception
Copyright © 2019. All rights reserved.