UIntProgression

open class UIntProgression : Iterable<UInt>

A progression of values of type UInt.

Since Kotlin

1.5

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean

Checks if the progression is empty.

iterator
Link copied to clipboard
operator override fun iterator(): Iterator<UInt>
toString
Link copied to clipboard
open override fun toString(): String

Properties

first
Link copied to clipboard
val first: UInt

The first element in the progression.

last
Link copied to clipboard
val last: UInt

The last element in the progression.

step
Link copied to clipboard
val step: Int

The step of the progression.

Inheritors

UIntRange
Link copied to clipboard

Extensions

reversed
Link copied to clipboard
fun UIntProgression.reversed(): UIntProgression

Returns a progression that goes over the same range in the opposite direction with the same step.

step
Link copied to clipboard
infix fun UIntProgression.step(step: Int): UIntProgression

Returns a progression that goes over the same range with the given step.