On this page
Object DoubleAccumulator.DoubleAccumulator
| Supertypes | |
|---|---|
| Self type |
Classlikes
Source
Concrete methods
Source
A BiConsumer that adds an element to an DoubleAccumulator, suitable for use with java.util.stream.DoubleStream's collect method.
Source
A BiConsumer that adds a boxed Double to an DoubleAccumulator, suitable for use with java.util.stream.Stream's collect method.
Source
override def empty: DoubleAccumulator
| Definition Classes | SpecificIterableFactory |
|---|
Source
| Value parameters |
|
|---|---|
| Returns | A collection of type |
| Definition Classes | Factory |
Source
A BiConsumer that merges DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method. Suitable for Stream[Double] also.
Source
override def newBuilder: DoubleAccumulator
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 | SpecificIterableFactory -> Factory |
|---|
Source
A Supplier of DoubleAccumulators, suitable for use with java.util.stream.DoubleStream's collect method. Suitable for Stream[Double] also.
Inherited methods
Source
| Inherited from | SpecificIterableFactory |
|---|
Source
| Inherited from | SpecificIterableFactory |
|---|
Implicits
Source
implicit def toJavaDoubleAccumulator(ia: DoubleAccumulator.type): SpecificIterableFactory[Double, DoubleAccumulator]
Inherited implicits
Source
implicit def specificIterableFactory: Factory[A, C]
| Inherited from | SpecificIterableFactory |
|---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/jdk/DoubleAccumulator$.html