StreamExtensions

scala.collection.convert.StreamExtensions$
See theStreamExtensions companion trait

Attributes

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

Members list

Type members

Classlikes

An implicit AccumulatorFactoryInfo connects primitive element types to the corresponding specialized scala.jdk.Accumulator factory.

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.

Attributes

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

Attributes

Source
StreamExtensions.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
StreamExtensions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait StreamShape[T, S <: BaseStream[_, _], St <: Stepper[_]]

An implicit StreamShape instance connects element types with the corresponding specialized Stream and Stepper types.

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.

Attributes

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

Attributes

Source
StreamExtensions.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object StreamShape.type
object StreamUnboxer

Attributes

Companion
trait
Source
StreamExtensions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait StreamUnboxer[A, S]

Connects a stream element type A to the corresponding, potentially specialized, Stream type.

Connects a stream element type A to the corresponding, potentially specialized, Stream type. Used in the stream.asJavaPrimitiveStream extension method.

Attributes

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