IterableNonGenericHasParStream

scala.collection.convert.StreamExtensions.IterableNonGenericHasParStream
implicit class IterableNonGenericHasParStream[A, C <: IterableOnce[_]](c: C)(implicit ev: C <:< IterableOnce[A])

Attributes

Source:
StreamExtensions.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def asJavaParStream[S <: BaseStream[_, _], St <: Stepper[_]](implicit s: StreamShape[A, S, St], st: StepperShape[A, St], isEfficient: C <:< IterableOnce[A] { def stepper[S <: Stepper[_]](shape: StepperShape[A, S]): S & EfficientSplit; ; }): S

Create a parallel Java Stream for this collection.

Create a parallel Java Stream for this collection. If the collection contains primitive values, a corresponding specialized Stream is returned (e.g., IntStream).

Attributes

Source:
StreamExtensions.scala