scala / 3.1 / scala / collection / intstepper.html

Trait scala.collection.IntStepper

trait IntStepper extends Stepper[Int]

A Stepper for Ints. See Stepper.

Supertypes

Abstract methods

Source

Concrete methods

Source
def javaIterator[B >: Int]: OfInt

Source
def spliterator[B >: Int]: OfInt

Inherited methods

Source

Returns a set of characteristics of this Stepper and its elements. See method characteristics in java.util.Spliterator.

Inherited from Stepper

Source

Returns an estimate of the number of elements of this Stepper, or Long.MaxValue. See method estimateSize in java.util.Spliterator.

Inherited from Stepper

Source

Check if there's an element available.

Inherited from Stepper

Source

Returns an Iterator corresponding to this Stepper. Note that Iterators corresponding to primitive Steppers box the elements.

Inherited from Stepper

Source
def nextStep(): Int

Return the next element and advance the stepper

Inherited from Stepper

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/IntStepper.html