Creates a sequential Java Stream for this stepper. If the stepper yields primitive values, a corresponding specialized Stream is returned (e.g., `IntStream`).
Creates a sequential Java Stream for this stepper. If the stepper yields primitive values, a corresponding specialized Stream is returned (e.g., `IntStream`).
Type parameters
S
the type of Java Stream to create, determined by the element type A
St
the type of Stepper used to traverse the elements
Value parameters
s
implicit evidence connecting element type A to the appropriate Java Stream and Stepper types
st
implicit evidence selecting the appropriate Stepper shape for element type A; also used to unbox an AnyStepper to a specialized stepper when needed
Attributes
Returns
a sequential Java Stream of type S containing the elements yielded by this stepper