scala / 3.1 / scala / collection / longstepper.html

Trait scala.collection.LongStepper

trait LongStepper extends Stepper[Long]

A Stepper for Longs. See Stepper.

Supertypes

Abstract methods

Source

Concrete methods

Source
def javaIterator[B >: Long]: OfLong

Source
def spliterator[B >: Long]: OfLong

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(): Long

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/LongStepper.html