Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.collection/IntStepper

IntStepper

scala.collection.IntStepper
See theIntStepper companion object
traitIntStepper extendsStepper[Int]

A Stepper for Ints. SeeStepper.

Attributes

Companion
object
Source
Stepper.scala
Graph
Supertypes
traitStepper[Int]
classObject
traitMatchable
classAny

Members list

Value members

Abstract methods

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 returnnull, in which case the current Stepper yields the same elements as before.

See methodtrySplit injava.util.Spliterator.

Attributes

Source
Stepper.scala

Concrete methods

Returns a Javajava.util.Iterator corresponding to this Stepper.

Returns a Javajava.util.Iterator corresponding to this Stepper.

Note that the return type isIterator[_] instead ofIterator[A] to allow returning ajava.util.PrimitiveIterator.OfInt (which is aIterator[Integer]) in the subclassIntStepper (which is aStepper[Int]).

Attributes

Source
Stepper.scala

Returns ajava.util.Spliterator corresponding to this Stepper.

Returns ajava.util.Spliterator corresponding to this Stepper.

Note that the return type isSpliterator[_] instead ofSpliterator[A] to allow returning ajava.util.Spliterator.OfInt (which is aSpliterator[Integer]) in the subclassIntStepper (which is aStepper[Int]).

Attributes

Source
Stepper.scala

Inherited methods

Returns anIterator corresponding to this Stepper.

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

Attributes

Inherited from:
Stepper
Source
Stepper.scala

Inherited and Abstract methods

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

Returns a set of characteristics of this Stepper and its elements. See methodcharacteristics injava.util.Spliterator.

Attributes

Inherited from:
Stepper
Source
Stepper.scala

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

Returns an estimate of the number of elements of this Stepper, orLong.MaxValue. See methodestimateSize injava.util.Spliterator.

Attributes

Inherited from:
Stepper
Source
Stepper.scala

Check if there's an element available.

Check if there's an element available.

Attributes

Inherited from:
Stepper
Source
Stepper.scala

Return the next element and advance the stepper

Return the next element and advance the stepper

Attributes

Inherited from:
Stepper
Source
Stepper.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp