UIntRange
class UIntRange(first: UInt, last: UInt) : UIntProgression, ClosedRange<UInt> , OpenEndRange<UInt> (source)
An ascending, inclusive range of UInt values with step one.
Both bounds belong to a nonempty range. The range is empty when first exceeds last. Iteration visits each value in order and stops at the inclusive upper bound.
Parameters
first
the inclusive lower bound.
last
the inclusive upper bound.
Constructors
Properties
Link copied to clipboard
The value immediately after the inclusive upper bound.
Link copied to clipboard
The inclusive upper bound, equal to last.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T, R : Any, C : MutableCollection<in R>> Iterable<T>.mapNotNullTo(destination: C, transform: (T) -> R?): C
Appends non-null transformed elements to destination in iteration order.
Link copied to clipboard
Creates a progression with the same direction and a new positive step magnitude.