Range

data class Range(startIndex: Int, length: Int)

Defines a range of elements in a list.

Constructors

Range
Link copied to clipboard
fun Range(startIndex: Int, length: Int)

Properties

length
Link copied to clipboard
val length: Int

How many elements are inside this range.

startIndex
Link copied to clipboard
val startIndex: Int

The start index of this change range.