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