public class MappingStepper$mcJD$sp extends MappingStepper<java.lang.Object,java.lang.Object> implements Stepper$mcD$sp
Stepper.OfDoubleSpliterator, Stepper.OfIntSpliterator, Stepper.OfLongSpliterator, Stepper.OfSpliterator<A>, Stepper.UnboxingByteStepper, Stepper.UnboxingCharStepper, Stepper.UnboxingDoubleStepper, Stepper.UnboxingFloatStepper, Stepper.UnboxingIntStepper, Stepper.UnboxingLongStepper, Stepper.UnboxingShortStepper| Constructor and Description |
|---|
MappingStepper$mcJD$sp(Stepper<java.lang.Object> underlying$mcJ$sp,
scala.Function1<java.lang.Object,java.lang.Object> mapping$mcJD$sp) |
| Modifier and Type | Method and Description |
|---|---|
void |
foreach(scala.Function1<java.lang.Object,scala.runtime.BoxedUnit> f)
Applies
f to every remaining element in the collection. |
double |
nextStep()
The next element traversed by this Stepper.
|
Stepper<java.lang.Object> |
substep()
Attempt to split this
Stepper in half, with the new (returned) copy taking the first half
of the collection, and this one advancing to cover the second half. |
boolean |
tryStep(scala.Function1<java.lang.Object,scala.runtime.BoxedUnit> f)
If another element exists, apply `f` to it and return `true`; otherwise, return `false`.
|
characteristics, hasStep, knownSize, spliteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumulateanticipateParallelism, characteristics, count, count, exists, find, fold, foldTo, hasStep, iterator, knownSize, reduce, spliterator, topublic MappingStepper$mcJD$sp(Stepper<java.lang.Object> underlying$mcJ$sp, scala.Function1<java.lang.Object,java.lang.Object> mapping$mcJD$sp)
public void foreach(scala.Function1<java.lang.Object,scala.runtime.BoxedUnit> f)
StepperLikef to every remaining element in the collection.
This is a terminal operation.foreach in interface StepperLike<java.lang.Object,Stepper<java.lang.Object>>foreach in class MappingStepper<java.lang.Object,java.lang.Object>f - (undocumented)public double nextStep()
StepperLikenextStep() throws an exception if no elements exist, so check hasStep immediately prior
to calling. Note that tryStep also consumes an element, so the result of hasStep will
be invalid after tryStep is called.nextStep in interface StepperLike<java.lang.Object,Stepper<java.lang.Object>>public Stepper<java.lang.Object> substep()
StepperLikeStepper in half, with the new (returned) copy taking the first half
of the collection, and this one advancing to cover the second half. If subdivision is not
possible or not advisable, substep() will return null.substep in interface StepperLike<java.lang.Object,Stepper<java.lang.Object>>substep in class MappingStepper<java.lang.Object,java.lang.Object>public boolean tryStep(scala.Function1<java.lang.Object,scala.runtime.BoxedUnit> f)
StepperLiketryStep in interface StepperLike<java.lang.Object,Stepper<java.lang.Object>>tryStep in class MappingStepper<java.lang.Object,java.lang.Object>