Class TMappingToIntStreamImpl<T>
java.lang.Object
org.teavm.classlib.java.util.stream.intimpl.TSimpleIntStreamImpl
org.teavm.classlib.java.util.stream.impl.TMappingToIntStreamImpl<T>
- All Implemented Interfaces:
AutoCloseable
,TBaseStream<Integer,TIntStream>
,TIntStream
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.stream.TIntStream
TIntStream.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionTMappingToIntStreamImpl(TSimpleStreamImpl<T> source, ToIntFunction<? super T> mapper)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
count()
protected int
boolean
next(IntPredicate consumer)
Methods inherited from class org.teavm.classlib.java.util.stream.intimpl.TSimpleIntStreamImpl
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
-
Constructor Details
-
TMappingToIntStreamImpl
-
-
Method Details
-
next
- Specified by:
next
in classTSimpleIntStreamImpl
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classTSimpleIntStreamImpl
- Throws:
Exception
-
estimateSize
protected int estimateSize()- Overrides:
estimateSize
in classTSimpleIntStreamImpl
-
count
public long count()- Specified by:
count
in interfaceTIntStream
- Overrides:
count
in classTSimpleIntStreamImpl
-