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 interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allMatch
(DoublePredicate predicate) boolean
anyMatch
(DoublePredicate predicate) average()
boxed()
static TDoubleStream.Builder
builder()
<R> R
collect
(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> combiner) static TDoubleStream
concat
(TDoubleStream a, TDoubleStream b) long
count()
distinct()
dropWhile
(DoublePredicate predicate) static TDoubleStream
empty()
filter
(DoublePredicate predicate) findAny()
flatMap
(DoubleFunction<? extends TDoubleStream> mapper) void
forEach
(DoubleConsumer action) void
forEachOrdered
(DoubleConsumer action) static TDoubleStream
static TDoubleStream
iterate
(double seed, DoublePredicate pr, DoubleUnaryOperator f) static TDoubleStream
iterate
(double seed, DoubleUnaryOperator f) iterator()
limit
(long maxSize) map
(DoubleUnaryOperator mapper) default TDoubleStream
mapToInt
(DoubleToIntFunction mapper) mapToLong
(DoubleToLongFunction mapper) <U> TStream<U>
mapToObj
(DoubleFunction<? extends U> mapper) max()
min()
boolean
noneMatch
(DoublePredicate predicate) static TDoubleStream
of
(double t) static TDoubleStream
of
(double... values) peek
(DoubleConsumer action) double
reduce
(double identity, DoubleBinaryOperator accumulator) skip
(long n) sorted()
double
sum()
takeWhile
(DoublePredicate predicate) double[]
toArray()
Methods inherited from interface java.lang.AutoCloseable
close
Methods 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:
iterator
in interfaceTBaseStream<Double,
TDoubleStream>
-
spliterator
Spliterator.OfDouble spliterator()- Specified by:
spliterator
in interfaceTBaseStream<Double,
TDoubleStream>
-
builder
-
empty
-
of
-
of
-
iterate
-
iterate
-
generate
-
concat
-