DoubleAccumulator

Type members

Value members

Concrete methods

A BiConsumer that adds an element to an DoubleAccumulator, suitable for use with java.util.stream.DoubleStream's collect method.

A BiConsumer that adds an element to an DoubleAccumulator, suitable for use with java.util.stream.DoubleStream's collect method.

Source:
DoubleAccumulator.scala

A BiConsumer that adds a boxed Double to an DoubleAccumulator, suitable for use with java.util.stream.Stream's collect method.

A BiConsumer that adds a boxed Double to an DoubleAccumulator, suitable for use with java.util.stream.Stream's collect method.

Source:
DoubleAccumulator.scala
Value parameters:
it

Source collection

Returns:

A collection of type C containing the same elements as the source collection it.

Definition Classes
Source:
DoubleAccumulator.scala

A BiConsumer that merges DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method.

A BiConsumer that merges DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method. Suitable for Stream[Double] also.

Source:
DoubleAccumulator.scala

Get a Builder for the collection.

Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.

Definition Classes
Source:
DoubleAccumulator.scala

A Supplier of DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method.

A Supplier of DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method. Suitable for Stream[Double] also.

Source:
DoubleAccumulator.scala

Inherited methods

def fill(n: Int)(elem: => Double): DoubleAccumulator