Class TSimpleIntStreamImpl
java.lang.Object
org.teavm.classlib.java.util.stream.intimpl.TSimpleIntStreamImpl
- All Implemented Interfaces:
AutoCloseable,TBaseStream<Integer,,TIntStream> TIntStream
- Direct Known Subclasses:
TArrayIntStreamImpl,TCloseHandlingIntStream,TEmptyIntStreamImpl,TFlatMappingIntStreamImpl,TFlatMappingToIntStreamImpl,TGenerateIntStream,TGenericConcatIntStream,TIterateIntStream,TLimitingIntStreamImpl,TMappingToIntStreamImpl,TMappingToIntStreamImpl,TMappingToIntStreamImpl,TRangeIntStream,TSingleIntStreamImpl,TSkippingIntStreamImpl,TSpecializedConcatIntStream,TWrappingIntStreamImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.stream.TIntStream
TIntStream.Builder, TIntStream.IntMapMultiConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(IntPredicate predicate) booleananyMatch(IntPredicate predicate) average()boxed()voidclose()<R> Rcollect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combiner) longcount()distinct()dropWhile(IntPredicate predicate) protected intfilter(IntPredicate predicate) findAny()flatMap(IntFunction<? extends TIntStream> mapper) voidforEach(IntConsumer action) voidforEachOrdered(IntConsumer action) booleaniterator()limit(long maxSize) map(IntUnaryOperator mapper) mapToDouble(IntToDoubleFunction mapper) mapToLong(IntToLongFunction mapper) <U> TStream<U> mapToObj(IntFunction<? extends U> mapper) max()min()abstract booleannext(IntPredicate consumer) booleannoneMatch(IntPredicate predicate) parallel()peek(IntConsumer action) intreduce(int identity, IntBinaryOperator accumulator) reduce(IntBinaryOperator accumulator) skip(long n) sorted()intsum()takeWhile(IntPredicate predicate) int[]toArray()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.classlib.java.util.stream.TIntStream
mapMulti
-
Constructor Details
-
TSimpleIntStreamImpl
public TSimpleIntStreamImpl()
-
-
Method Details
-
filter
- Specified by:
filterin interfaceTIntStream
-
map
- Specified by:
mapin interfaceTIntStream
-
mapToObj
- Specified by:
mapToObjin interfaceTIntStream
-
mapToLong
- Specified by:
mapToLongin interfaceTIntStream
-
mapToDouble
- Specified by:
mapToDoublein interfaceTIntStream
-
flatMap
- Specified by:
flatMapin interfaceTIntStream
-
distinct
- Specified by:
distinctin interfaceTIntStream
-
sorted
- Specified by:
sortedin interfaceTIntStream
-
peek
- Specified by:
peekin interfaceTIntStream
-
limit
- Specified by:
limitin interfaceTIntStream
-
takeWhile
- Specified by:
takeWhilein interfaceTIntStream
-
dropWhile
- Specified by:
dropWhilein interfaceTIntStream
-
skip
- Specified by:
skipin interfaceTIntStream
-
forEach
- Specified by:
forEachin interfaceTIntStream
-
forEachOrdered
- Specified by:
forEachOrderedin interfaceTIntStream
-
toArray
public int[] toArray()- Specified by:
toArrayin interfaceTIntStream
-
reduce
- Specified by:
reducein interfaceTIntStream
-
reduce
- Specified by:
reducein interfaceTIntStream
-
collect
- Specified by:
collectin interfaceTIntStream
-
min
- Specified by:
minin interfaceTIntStream
-
max
- Specified by:
maxin interfaceTIntStream
-
count
public long count()- Specified by:
countin interfaceTIntStream
-
sum
public int sum()- Specified by:
sumin interfaceTIntStream
-
average
- Specified by:
averagein interfaceTIntStream
-
summaryStatistics
- Specified by:
summaryStatisticsin interfaceTIntStream
-
anyMatch
- Specified by:
anyMatchin interfaceTIntStream
-
allMatch
- Specified by:
allMatchin interfaceTIntStream
-
noneMatch
- Specified by:
noneMatchin interfaceTIntStream
-
findFirst
- Specified by:
findFirstin interfaceTIntStream
-
findAny
- Specified by:
findAnyin interfaceTIntStream
-
asLongStream
- Specified by:
asLongStreamin interfaceTIntStream
-
asDoubleStream
- Specified by:
asDoubleStreamin interfaceTIntStream
-
iterator
- Specified by:
iteratorin interfaceTBaseStream<Integer,TIntStream> - Specified by:
iteratorin interfaceTIntStream
-
spliterator
- Specified by:
spliteratorin interfaceTBaseStream<Integer,TIntStream> - Specified by:
spliteratorin interfaceTIntStream
-
boxed
- Specified by:
boxedin interfaceTIntStream
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceTBaseStream<Integer,TIntStream>
-
sequential
- Specified by:
sequentialin interfaceTBaseStream<Integer,TIntStream>
-
parallel
- Specified by:
parallelin interfaceTBaseStream<Integer,TIntStream>
-
unordered
- Specified by:
unorderedin interfaceTBaseStream<Integer,TIntStream>
-
onClose
- Specified by:
onClosein interfaceTBaseStream<Integer,TIntStream>
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
estimateSize
protected int estimateSize() -
next
-