On this page
Object StreamExtensions.StreamExtensions
object StreamExtensions
Supertypes | |
---|---|
Self type |
Classlikes
Source
object AccumulatorFactoryInfo extends LowPriorityAccumulatorFactoryInfo
Companion | class |
---|
Source
trait AccumulatorFactoryInfo[A, C]
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
Source
object StreamShape extends StreamShapeLowPriority1
Companion | class |
---|
Source
An implicit StreamShape instance connects element types with the corresponding specialized Stream and Stepper types. This is used in asJavaStream
extension methods to create generic or primitive streams according to the element type.
Companion | object |
---|
Source
trait StreamShapeLowPriority1
Source
object StreamUnboxer
Companion | class |
---|
Source
sealed trait StreamUnboxer[A, S]
Connects a stream element type A
to the corresponding, potentially specialized, Stream type. Used in the stream.asJavaPrimitiveStream
extension method.
Companion | object |
---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/collection/convert/StreamExtensions$.html