Interface TIntStream
- All Superinterfaces:
AutoCloseable,TBaseStream<Integer,TIntStream>
- All Known Implementing Classes:
TArrayIntStreamImpl,TCharSequenceCharsStream,TCharSequenceCodePointsStream,TCloseHandlingIntStream,TDistinctIntStreamImpl,TDropWhileIntStream,TEmptyIntStreamImpl,TFilteringIntStreamImpl,TFlatMappingIntStreamImpl,TFlatMappingToIntStreamImpl,TGenerateIntStream,TGenericConcatIntStream,TIterateIntStream,TLimitingIntStreamImpl,TMappingIntStreamImpl,TMappingToIntStreamImpl,TMappingToIntStreamImpl,TMappingToIntStreamImpl,TPeekingIntStreamImpl,TRangeIntStream,TSimpleIntStreamImpl,TSingleIntStreamImpl,TSkippingIntStreamImpl,TSpecializedConcatIntStream,TStringCharsStream,TStringCodePointsStream,TTakeWhileIntStream,TWrappingIntStreamImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(IntPredicate predicate) booleananyMatch(IntPredicate predicate) average()boxed()static TIntStream.Builderbuilder()<R> Rcollect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combiner) static TIntStreamconcat(TIntStream a, TIntStream b) longcount()distinct()dropWhile(IntPredicate predicate) static TIntStreamempty()filter(IntPredicate predicate) findAny()flatMap(IntFunction<? extends TIntStream> mapper) voidforEach(IntConsumer action) voidforEachOrdered(IntConsumer action) static TIntStreamstatic TIntStreamiterate(int seed, IntPredicate pr, IntUnaryOperator f) static TIntStreamiterate(int seed, IntUnaryOperator f) iterator()limit(long maxSize) map(IntUnaryOperator mapper) default TIntStreammapToDouble(IntToDoubleFunction mapper) mapToLong(IntToLongFunction mapper) <U> TStream<U> mapToObj(IntFunction<? extends U> mapper) max()min()booleannoneMatch(IntPredicate predicate) static TIntStreamof(int t) static TIntStreamof(int... values) peek(IntConsumer action) static TIntStreamrange(int startInclusive, int endExclusive) static TIntStreamrangeClosed(int startInclusive, int endInclusive) intreduce(int identity, IntBinaryOperator accumulator) skip(long n) sorted()intsum()takeWhile(IntPredicate predicate) int[]toArray()Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.teavm.classlib.java.util.stream.TBaseStream
isParallel, onClose, parallel, sequential, unordered
-
Method Details
-
filter
-
map
-
mapToObj
-
mapToLong
-
mapToDouble
-
flatMap
-
mapMulti
-
distinct
TIntStream distinct() -
sorted
TIntStream sorted() -
peek
-
limit
-
takeWhile
-
dropWhile
-
skip
-
forEach
-
forEachOrdered
-
toArray
int[] toArray() -
reduce
-
reduce
-
collect
-
sum
int sum() -
min
OptionalInt min() -
max
OptionalInt max() -
count
long count() -
average
OptionalDouble average() -
summaryStatistics
TIntSummaryStatistics summaryStatistics() -
anyMatch
-
allMatch
-
noneMatch
-
findFirst
OptionalInt findFirst() -
findAny
OptionalInt findAny() -
asLongStream
TLongStream asLongStream() -
asDoubleStream
TDoubleStream asDoubleStream() -
boxed
-
iterator
PrimitiveIterator.OfInt iterator()- Specified by:
iteratorin interfaceTBaseStream<Integer,TIntStream>
-
spliterator
Spliterator.OfInt spliterator()- Specified by:
spliteratorin interfaceTBaseStream<Integer,TIntStream>
-
builder
-
empty
-
of
-
of
-
iterate
-
iterate
-
generate
-
range
-
rangeClosed
-
concat
-