StreamShape

scala.collection.convert.StreamExtensions.StreamShape
See theStreamShape companion object
sealed trait StreamShape[T, S <: BaseStream[_, _], St <: Stepper[_]]

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 Stepper used to traverse elements

T

the element type of the collection

Attributes

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

Members list

Value members

Concrete methods

final def fromStepper(st: St, par: Boolean): S

Attributes

Source
StreamExtensions.scala