IntIndexed

interface IntIndexed<T> : Indexed<Int, T>, Comparable<IntIndexed<T>>, Any

Methods

compareTo

open fun compareTo(other: IntIndexed<T>): Int

Parameters

Name Description
other: IntIndexed<T>

ReturnValue

Name Description
Int

map

abstract fun <R> map(mapper: (T)->R): IntIndexed<R>

Parameters

Name Description
mapper: (T)->R

ReturnValue

Name Description
IntIndexed<R>

CompanionObject

IntIndexed

interface IntIndexed<T> : Indexed<Int, T>, Comparable<IntIndexed<T>>, Any

Methods

of

fun <T> of(index: Int, value: T): IntIndexed<T>

Parameters

Name Description
index: Int
value: T

ReturnValue

Name Description
IntIndexed<T>