LongIndexed

interface LongIndexed<T> : Indexed<Long, T>, Comparable<LongIndexed<T>>, Any

Methods

compareTo

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

Parameters

Name Description
other: LongIndexed<T>

ReturnValue

Name Description
Int

map

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

Parameters

Name Description
mapper: (T)->R

ReturnValue

Name Description
LongIndexed<R>

CompanionObject

LongIndexed

interface LongIndexed<T> : Indexed<Long, T>, Comparable<LongIndexed<T>>, Any

Methods

of

fun <T> of(index: Long, value: T): LongIndexed<T>

Parameters

Name Description
index: Long
value: T

ReturnValue

Name Description
LongIndexed<T>