data class WithIndex<out T>
A named pair with index and value.
<init>
WithIndex(index: Int, value: T)
index
val index: Int
value
val value: T