AccumulatorFactoryInfo

scala.collection.convert.StreamExtensions.AccumulatorFactoryInfo
See theAccumulatorFactoryInfo companion object

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.

Type parameters

A

the element type of the stream

C

the target collection type, potentially a specialized Accumulator

Attributes

Companion
object
Source
StreamExtensions.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract fields

Attributes

Source
StreamExtensions.scala