Interface TDoubleStream
- All Superinterfaces:
AutoCloseable,TBaseStream<Double,TDoubleStream>
- All Known Implementing Classes:
TArrayDoubleStreamImpl,TCloseHandlingDoubleStream,TDistinctDoubleStreamImpl,TDropWhileDoubleStream,TEmptyDoubleStreamImpl,TFilteringDoubleStreamImpl,TFlatMappingDoubleStreamImpl,TFlatMappingToDoubleStreamImpl,TGenerateDoubleStream,TGenericConcatDoubleStream,TIntAsDoubleStream,TIterateDoubleStream,TLimitingDoubleStreamImpl,TLongAsDoubleStream,TMappingDoubleStreamImpl,TMappingToDoubleStreamImpl,TMappingToDoubleStreamImpl,TMappingToDoubleStreamImpl,TPeekingDoubleStreamImpl,TSimpleDoubleStreamImpl,TSingleDoubleStreamImpl,TSkippingDoubleStreamImpl,TSpecializedConcatDoubleStream,TTakeWhileDoubleStream,TWrappingDoubleStreamImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(DoublePredicate predicate) booleananyMatch(DoublePredicate predicate) average()boxed()static TDoubleStream.Builderbuilder()<R> Rcollect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> combiner) static TDoubleStreamconcat(TDoubleStream a, TDoubleStream b) longcount()distinct()dropWhile(DoublePredicate predicate) static TDoubleStreamempty()filter(DoublePredicate predicate) findAny()flatMap(DoubleFunction<? extends TDoubleStream> mapper) voidforEach(DoubleConsumer action) voidforEachOrdered(DoubleConsumer action) static TDoubleStreamstatic TDoubleStreamiterate(double seed, DoublePredicate pr, DoubleUnaryOperator f) static TDoubleStreamiterate(double seed, DoubleUnaryOperator f) iterator()limit(long maxSize) map(DoubleUnaryOperator mapper) default TDoubleStreammapToInt(DoubleToIntFunction mapper) mapToLong(DoubleToLongFunction mapper) <U> TStream<U> mapToObj(DoubleFunction<? extends U> mapper) max()min()booleannoneMatch(DoublePredicate predicate) static TDoubleStreamof(double t) static TDoubleStreamof(double... values) peek(DoubleConsumer action) doublereduce(double identity, DoubleBinaryOperator accumulator) skip(long n) sorted()doublesum()takeWhile(DoublePredicate predicate) double[]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
-
mapToInt
-
mapToLong
-
flatMap
-
mapMulti
-
distinct
TDoubleStream distinct() -
sorted
TDoubleStream sorted() -
peek
-
limit
-
takeWhile
-
dropWhile
-
skip
-
forEach
-
forEachOrdered
-
toArray
double[] toArray() -
reduce
-
reduce
-
collect
-
sum
double sum() -
min
OptionalDouble min() -
max
OptionalDouble max() -
count
long count() -
average
OptionalDouble average() -
summaryStatistics
TDoubleSummaryStatistics summaryStatistics() -
anyMatch
-
allMatch
-
noneMatch
-
findFirst
OptionalDouble findFirst() -
findAny
OptionalDouble findAny() -
boxed
-
iterator
PrimitiveIterator.OfDouble iterator()- Specified by:
iteratorin interfaceTBaseStream<Double,TDoubleStream>
-
spliterator
Spliterator.OfDouble spliterator()- Specified by:
spliteratorin interfaceTBaseStream<Double,TDoubleStream>
-
builder
-
empty
-
of
-
of
-
iterate
-
iterate
-
generate
-
concat
-