public class DoubleAccumulator$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DoubleAccumulator$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
DoubleAccumulator$() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
adder()
A `BiConsumer` that adds an element to an `Accumulator`, suitable for use with `java.util.stream.DoubleStream`'s `collect` method.
|
java.lang.Object |
boxedAdder()
A `BiConsumer` that adds a boxed `Double` to an `DoubleAccumulator`, suitable for use with `java.util.stream.Stream`'s `collect` method.
|
<A> DoubleAccumulator |
from(scala.collection.TraversableOnce<java.lang.Object> source)
Builds a `DoubleAccumulator` from any `Double`-valued `TraversableOnce`
|
java.lang.Object |
merger()
A `BiConsumer` that merges `DoubleAccumulator`s, suitable for use with `java.util.stream.DoubleStream`'s `collect` method.
|
java.lang.Object |
supplier()
A `Supplier` of `DoubleAccumulator`s, suitable for use with `java.util.stream.DoubleStream`'s `collect` method.
|
public static final DoubleAccumulator$ MODULE$
public java.lang.Object supplier()
public java.lang.Object adder()
public java.lang.Object boxedAdder()
public java.lang.Object merger()
public <A> DoubleAccumulator from(scala.collection.TraversableOnce<java.lang.Object> source)