AccumulatorFactoryInfo

An implicit AccumulatorFactoryInfo connects primitive element types to the corresponding specialized scala.jdk.Accumulator factory. This is used in the stream.toScala extension methods to ensure collecting a primitive stream into a primitive accumulator does not box.

When converting to a collection other than Accumulator, the generic noAccumulatorFactoryInfo is passed.

Companion:
object
Source:
StreamExtensions.scala
class Object
trait Matchable
class Any

Value members

Abstract fields