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