public class TMappingToIntStreamImpl<T> extends TSimpleIntStreamImpl
TIntStream.Builder
Constructor and Description |
---|
TMappingToIntStreamImpl(TSimpleStreamImpl<T> source,
ToIntFunction<? super T> mapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
count() |
protected int |
estimateSize() |
boolean |
next(IntPredicate consumer) |
allMatch, anyMatch, asDoubleStream, asLongStream, average, boxed, collect, 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 TMappingToIntStreamImpl(TSimpleStreamImpl<T> source, ToIntFunction<? super T> mapper)
public boolean next(IntPredicate consumer)
next
in class TSimpleIntStreamImpl
public void close() throws Exception
close
in interface AutoCloseable
close
in class TSimpleIntStreamImpl
Exception
protected int estimateSize()
estimateSize
in class TSimpleIntStreamImpl
public long count()
count
in interface TIntStream
count
in class TSimpleIntStreamImpl
Copyright © 2019. All rights reserved.