Packages

trait AnyStepper[+A] extends Stepper[A]

A Stepper for arbitrary element types. See Stepper.

Source
Stepper.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyStepper
  2. Stepper
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def characteristics: Int

    Returns a set of characteristics of this Stepper and its elements.

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

    Definition Classes
    Stepper
  2. abstract def estimateSize: Long

    Returns an estimate of the number of elements of this Stepper, or Long.MaxValue.

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

    Definition Classes
    Stepper
  3. abstract def hasStep: Boolean

    Check if there's an element available.

    Check if there's an element available.

    Definition Classes
    Stepper
  4. abstract def nextStep(): A

    Return the next element and advance the stepper

    Return the next element and advance the stepper

    Definition Classes
    Stepper
  5. abstract def trySplit(): AnyStepper[A]

    Split this stepper, if applicable.

    Split this stepper, if applicable. The elements of the current Stepper are split up between the resulting Stepper and the current stepper.

    May return null, in which case the current Stepper yields the same elements as before.

    See method trySplit in java.util.Spliterator.

    Definition Classes
    AnyStepperStepper

Concrete Value Members

  1. def iterator: Iterator[A]

    Returns an Iterator corresponding to this Stepper.

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

    Definition Classes
    Stepper
  2. def javaIterator[B >: A]: java.util.Iterator[B]

    Returns a Java java.util.Iterator corresponding to this Stepper.

    Returns a Java java.util.Iterator corresponding to this Stepper.

    Note that the return type is Iterator[_] instead of Iterator[A] to allow returning a java.util.PrimitiveIterator.OfInt (which is a Iterator[Integer]) in the subclass IntStepper (which is a Stepper[Int]).

    Definition Classes
    AnyStepperStepper
  3. def spliterator[B >: A]: Spliterator[B]

    Returns a java.util.Spliterator corresponding to this Stepper.

    Returns a java.util.Spliterator corresponding to this Stepper.

    Note that the return type is Spliterator[_] instead of Spliterator[A] to allow returning a java.util.Spliterator.OfInt (which is a Spliterator[Integer]) in the subclass IntStepper (which is a Stepper[Int]).

    Definition Classes
    AnyStepperStepper