scala.collection.StepperShape
See theStepperShape companion object
An implicit StepperShape instance is used in the IterableOnce.stepper to return a possibly specialized Stepper S according to the element type T.
Type parameters
- S
-
the type of Stepper to use, possibly specialized for primitive types
- T
-
the element type of the collection (may be a primitive or reference type)
Attributes
- Companion
-
object
- Source
-
StepperShape.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Creates an unboxing primitive parallel (i.e. with EfficientSplit) Stepper from a boxed AnyStepper. This is an identity operation for reference shapes.
Creates an unboxing primitive parallel (i.e. with EfficientSplit) Stepper from a boxed AnyStepper. This is an identity operation for reference shapes.
Value parameters
- st
-
the boxed AnyStepper with EfficientSplit capability to convert into a possibly specialized stepper
Attributes
- Returns
-
a parallel Stepper of shape S with EfficientSplit that unboxes elements from st, or st itself for reference shapes
- Source
-
StepperShape.scala
Creates an unboxing primitive sequential Stepper from a boxed AnyStepper. This is an identity operation for reference shapes.
Creates an unboxing primitive sequential Stepper from a boxed AnyStepper. This is an identity operation for reference shapes.
Value parameters
- st
-
the boxed AnyStepper to convert into a possibly specialized stepper
Attributes
- Returns
-
a sequential Stepper of shape S that unboxes elements from st, or st itself for reference shapes
- Source
-
StepperShape.scala
Returns the Int constant (as defined in the StepperShape companion object) for this StepperShape.
Returns the Int constant (as defined in the StepperShape companion object) for this StepperShape.
Attributes
- Source
-
StepperShape.scala