public abstract class StepsLikeIterator<A,SLI extends StepsLikeIterator<A,SLI>> extends AbstractStepsLikeIterator<A,AnyStepper<A>,SLI> implements AnyStepper<A>
AnyStepper.BoxedDoubleStepper, AnyStepper.BoxedIntStepper, AnyStepper.BoxedLongStepper
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 |
---|
StepsLikeIterator(scala.collection.Iterator<A> _underlying) |
Modifier and Type | Method and Description |
---|---|
AnyStepper<A> |
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. |
characteristics, estimateSize, hasNext, nextChunkSize, proxied, semiclone, underlying
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasStep, knownSize, nextStep, parStream, seqStream, spliterator, tryAdvance, trySplit, tryStep
accumulate
anticipateParallelism, characteristics, count, count, exists, find, fold, foldTo, foreach, iterator, reduce, to
public StepsLikeIterator(scala.collection.Iterator<A> _underlying)
public AnyStepper<A> substep()
StepperLike
Stepper
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<A,AnyStepper<A>>