public class TLimitingIntStreamImpl extends TSimpleIntStreamImpl
TIntStream.Builder
Constructor and Description |
---|
TLimitingIntStreamImpl(TSimpleIntStreamImpl sourceStream,
int limit) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
estimateSize() |
boolean |
next(IntPredicate consumer) |
allMatch, anyMatch, asDoubleStream, asLongStream, average, boxed, collect, count, distinct, filter, findAny, findFirst, flatMap, forEach, forEachOrdered, isParallel, iterator, limit, map, mapToDouble, mapToLong, mapToObj, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, sequential, skip, sorted, spliterator, sum, toArray, unordered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, concat, empty, generate, iterate, of, of, range, rangeClosed
public TLimitingIntStreamImpl(TSimpleIntStreamImpl sourceStream, int limit)
public boolean next(IntPredicate consumer)
next
in class TSimpleIntStreamImpl
protected int estimateSize()
estimateSize
in class TSimpleIntStreamImpl
public void close() throws Exception
close
in interface AutoCloseable
close
in class TSimpleIntStreamImpl
Exception
Copyright © 2019. All rights reserved.