Attributes
- Companion
- trait
- Source
- StreamExtensions.scala
- Graph
-
- Supertypes
- Self type
-
StreamExtensions.type
Members list
Type members
Classlikes
Attributes
- Companion
- trait
- Source
- StreamExtensions.scala
- Supertypes
- Self type
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.
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
- Supertypes
Attributes
- Source
- StreamExtensions.scala
- Supertypes
- Known subtypes
-
object AccumulatorFactoryInfo
Attributes
- Companion
- trait
- Source
- StreamExtensions.scala
- Supertypes
- Self type
-
StreamShape.type
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.
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.
Type parameters
- S
-
the type of Java Stream (e.g.,
Stream[T],IntStream,LongStream,DoubleStream) - St
-
the type of
Stepperused to traverse elements - T
-
the element type of the collection
Attributes
- Companion
- object
- Source
- StreamExtensions.scala
- Supertypes
Attributes
- Source
- StreamExtensions.scala
- Supertypes
- Known subtypes
-
object StreamShape
Attributes
- Companion
- trait
- Source
- StreamExtensions.scala
- Supertypes
- Self type
-
StreamUnboxer.type
Connects a stream element type A to the corresponding, potentially specialized, Stream type. Used in the stream.asJavaPrimitiveStream extension method.
Connects a stream element type A to the corresponding, potentially specialized, Stream type. Used in the stream.asJavaPrimitiveStream extension method.
Type parameters
- A
-
the boxed element type of the stream
- S
-
the target primitive stream type (e.g.,
IntStream,LongStream,DoubleStream)
Attributes
- Companion
- object
- Source
- StreamExtensions.scala
- Supertypes