public interface DoubleStream extends BaseStream<Double,DoubleStream>
Modifier and Type | Interface and Description |
---|---|
static interface |
DoubleStream.Builder
See the
official Java API doc for details.
|
close, isParallel, onClose, unordered
static DoubleStream.Builder builder()
static DoubleStream concat(DoubleStream a, DoubleStream b)
static DoubleStream empty()
static DoubleStream generate(DoubleSupplier s)
static DoubleStream iterate(double seed, DoubleUnaryOperator f)
static DoubleStream of(double... values)
static DoubleStream of(double t)
boolean allMatch(DoublePredicate predicate)
boolean anyMatch(DoublePredicate predicate)
OptionalDouble average()
<R> R collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R,R> combiner)
long count()
DoubleStream distinct()
DoubleStream filter(DoublePredicate predicate)
OptionalDouble findAny()
OptionalDouble findFirst()
DoubleStream flatMap(DoubleFunction<? extends DoubleStream> mapper)
void forEach(DoubleConsumer action)
void forEachOrdered(DoubleConsumer action)
PrimitiveIterator.OfDouble iterator()
iterator
in interface BaseStream<Double,DoubleStream>
DoubleStream limit(long maxSize)
DoubleStream map(DoubleUnaryOperator mapper)
IntStream mapToInt(DoubleToIntFunction mapper)
LongStream mapToLong(DoubleToLongFunction mapper)
<U> Stream<U> mapToObj(DoubleFunction<? extends U> mapper)
OptionalDouble max()
OptionalDouble min()
boolean noneMatch(DoublePredicate predicate)
DoubleStream parallel()
parallel
in interface BaseStream<Double,DoubleStream>
DoubleStream peek(DoubleConsumer action)
OptionalDouble reduce(DoubleBinaryOperator op)
double reduce(double identity, DoubleBinaryOperator op)
DoubleStream sequential()
sequential
in interface BaseStream<Double,DoubleStream>
DoubleStream skip(long n)
DoubleStream sorted()
Spliterator.OfDouble spliterator()
spliterator
in interface BaseStream<Double,DoubleStream>
double sum()
DoubleSummaryStatistics summaryStatistics()
double[] toArray()
Copyright © 2018. All rights reserved.