androidx.collection


Classes

ArrayMap

ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional java.util.HashMap, this implementation is a version of the platform's android.util.ArrayMap that can be used on older versions of the platform.

android
ArraySet

ArraySet is a generic set data structure that is designed to be more memory efficient than a traditional HashSet.

Cmn
android
N
CircularArray

CircularArray is a generic circular array data structure that provides O(1) random read, O(1) prepend and O(1) append.

Cmn
CircularIntArray

CircularIntArray is a circular integer array data structure that provides O(1) random read, O(1) prepend and O(1) append.

Cmn
DoubleList

DoubleList is a List-like collection for Double values.

Cmn
FloatFloatMap

FloatFloatMap is a container with a Map-like interface for Float primitive keys and Float primitive values.

Cmn
FloatFloatPair

Container to ease passing around a tuple of two Float values.

Cmn
FloatIntMap

FloatIntMap is a container with a Map-like interface for Float primitive keys and Int primitive values.

Cmn
FloatList

FloatList is a List-like collection for Float values.

Cmn
FloatLongMap

FloatLongMap is a container with a Map-like interface for Float primitive keys and Long primitive values.

Cmn
FloatObjectMap

FloatObjectMap is a container with a Map-like interface for keys with Float primitives and reference type values.

Cmn
FloatSet

FloatSet is a container with a Set-like interface designed to avoid allocations, including boxing.

Cmn
IntFloatMap

IntFloatMap is a container with a Map-like interface for Int primitive keys and Float primitive values.

Cmn
IntIntMap

IntIntMap is a container with a Map-like interface for Int primitive keys and Int primitive values.

Cmn
IntIntPair

Container to ease passing around a tuple of two Int values.

Cmn
IntList

IntList is a List-like collection for Int values.

Cmn
IntLongMap

IntLongMap is a container with a Map-like interface for Int primitive keys and Long primitive values.

Cmn
IntObjectMap

IntObjectMap is a container with a Map-like interface for keys with Int primitives and reference type values.

Cmn
IntSet

IntSet is a container with a Set-like interface designed to avoid allocations, including boxing.

Cmn
LongFloatMap

LongFloatMap is a container with a Map-like interface for Long primitive keys and Float primitive values.

Cmn
LongIntMap

LongIntMap is a container with a Map-like interface for Long primitive keys and Int primitive values.

Cmn
LongList

LongList is a List-like collection for Long values.

Cmn
LongLongMap

LongLongMap is a container with a Map-like interface for Long primitive keys and Long primitive values.

Cmn
LongLongPair

Container to ease passing around a tuple of two Long values.

Cmn
LongObjectMap

LongObjectMap is a container with a Map-like interface for keys with Long primitives and reference type values.

Cmn
LongSet

LongSet is a container with a Set-like interface designed to avoid allocations, including boxing.

Cmn
LongSparseArray

SparseArray mapping longs to Objects.

Cmn
android
N
LruCache

A cache that holds strong references to a limited number of values.

Cmn
MutableDoubleList

MutableDoubleList is a MutableList-like collection for Double values.

Cmn
MutableFloatFloatMap

MutableFloatFloatMap is a container with a MutableMap-like interface for Float primitive keys and Float primitive values.

Cmn
MutableFloatIntMap

MutableFloatIntMap is a container with a MutableMap-like interface for Float primitive keys and Int primitive values.

Cmn
MutableFloatList

MutableFloatList is a MutableList-like collection for Float values.

Cmn
MutableFloatLongMap

MutableFloatLongMap is a container with a MutableMap-like interface for Float primitive keys and Long primitive values.

Cmn
MutableFloatObjectMap

MutableFloatObjectMap is a container with a MutableMap-like interface for keys with Float primitives and reference type values.

Cmn
MutableFloatSet

MutableFloatSet is a container with a MutableSet-like interface based on a flat hash table implementation.

Cmn
MutableIntFloatMap

MutableIntFloatMap is a container with a MutableMap-like interface for Int primitive keys and Float primitive values.

Cmn
MutableIntIntMap

MutableIntIntMap is a container with a MutableMap-like interface for Int primitive keys and Int primitive values.

Cmn
MutableIntList

MutableIntList is a MutableList-like collection for Int values.

Cmn
MutableIntLongMap

MutableIntLongMap is a container with a MutableMap-like interface for Int primitive keys and Long primitive values.

Cmn
MutableIntObjectMap

MutableIntObjectMap is a container with a MutableMap-like interface for keys with Int primitives and reference type values.

Cmn
MutableIntSet

MutableIntSet is a container with a MutableSet-like interface based on a flat hash table implementation.

Cmn
MutableLongFloatMap

MutableLongFloatMap is a container with a MutableMap-like interface for Long primitive keys and Float primitive values.

Cmn
MutableLongIntMap

MutableLongIntMap is a container with a MutableMap-like interface for Long primitive keys and Int primitive values.

Cmn
MutableLongList

MutableLongList is a MutableList-like collection for Long values.

Cmn
MutableLongLongMap

MutableLongLongMap is a container with a MutableMap-like interface for Long primitive keys and Long primitive values.

Cmn
MutableLongObjectMap

MutableLongObjectMap is a container with a MutableMap-like interface for keys with Long primitives and reference type values.

Cmn
MutableLongSet

MutableLongSet is a container with a MutableSet-like interface based on a flat hash table implementation.

Cmn
MutableObjectFloatMap

MutableObjectFloatMap is a container with a MutableMap-like interface for keys with reference types and Float primitives for values.

Cmn
MutableObjectIntMap

MutableObjectIntMap is a container with a MutableMap-like interface for keys with reference types and Int primitives for values.

Cmn
MutableObjectList

MutableObjectList is a MutableList-like collection for reference types.

Cmn
MutableObjectLongMap

MutableObjectLongMap is a container with a MutableMap-like interface for keys with reference types and Long primitives for values.

Cmn
MutableOrderedScatterSet

MutableOrderedScatterSet is a container with a MutableSet-like interface based on a flat hash table implementation that preserves the insertion order for iteration.

Cmn
MutableScatterMap

MutableScatterMap is a container with a Map-like interface based on a flat hash table implementation (the key/value mappings are not stored by nodes but directly into arrays).

Cmn
MutableScatterSet

MutableScatterSet is a container with a MutableSet-like interface based on a flat hash table implementation.

Cmn
ObjectFloatMap

ObjectFloatMap is a container with a Map-like interface for keys with reference types and Float primitives for values.

Cmn
ObjectIntMap

ObjectIntMap is a container with a Map-like interface for keys with reference types and Int primitives for values.

Cmn
ObjectList

ObjectList is a List-like collection for reference types.

Cmn
ObjectLongMap

ObjectLongMap is a container with a Map-like interface for keys with reference types and Long primitives for values.

Cmn
OrderedScatterSet

OrderedScatterSet is a container with a Set-like interface based on a flat hash table implementation that preserves the insertion order for iteration.

Cmn
ScatterMap

ScatterMap is a container with a Map-like interface based on a flat hash table implementation (the key/value mappings are not stored by nodes but directly into arrays).

Cmn
ScatterSet

ScatterSet is a container with a Set-like interface based on a flat hash table implementation.

Cmn
SieveCache

SieveCache is an in-memory cache that holds strong references to a limited number of values determined by the cache's maxSize and the size of each value.

Cmn
SimpleArrayMap

Base implementation of androidx.collection.ArrayMap that doesn't include any standard Java container API interoperability.

Cmn
SparseArrayCompat

SparseArrays map integers to Objects.

Cmn
android
N

Top-level functions summary

inline ArrayMap
Any?, V : Any?> arrayMapOf()

Returns an empty new ArrayMap.

android
ArrayMap
Any?, V : Any?> arrayMapOf(vararg pairs: Pair)

Returns a new ArrayMap with the specified contents, given as a list of pairs where the first component is the key and the second component is the value.

android
inline ArraySet
Any?> arraySetOf()

Returns an empty new ArraySet.

Cmn
ArraySet
Any?> arraySetOf(vararg values: T)

Returns a new ArraySet with the specified contents.

Cmn
inline DoubleList
buildDoubleList(builderAction: MutableDoubleList.() -> Unit)

Builds a new DoubleList by populating a MutableDoubleList using the given builderAction.

Cmn
inline DoubleList
buildDoubleList(initialCapacity: Int, builderAction: MutableDoubleList.() -> Unit)

Builds a new DoubleList by populating a MutableDoubleList using the given builderAction.

Cmn
inline FloatFloatMap

Builds a new FloatFloatMap by populating a MutableFloatFloatMap using the given builderAction.

Cmn
inline FloatFloatMap
buildFloatFloatMap(initialCapacity: Int, builderAction: MutableFloatFloatMap.() -> Unit)

Builds a new FloatFloatMap by populating a MutableFloatFloatMap using the given builderAction.

Cmn
inline FloatIntMap

Builds a new FloatIntMap by populating a MutableFloatIntMap using the given builderAction.

Cmn
inline FloatIntMap
buildFloatIntMap(initialCapacity: Int, builderAction: MutableFloatIntMap.() -> Unit)

Builds a new FloatIntMap by populating a MutableFloatIntMap using the given builderAction.

Cmn
inline FloatList
buildFloatList(builderAction: MutableFloatList.() -> Unit)

Builds a new FloatList by populating a MutableFloatList using the given builderAction.

Cmn
inline FloatList
buildFloatList(initialCapacity: Int, builderAction: MutableFloatList.() -> Unit)

Builds a new FloatList by populating a MutableFloatList using the given builderAction.

Cmn
inline FloatLongMap

Builds a new FloatLongMap by populating a MutableFloatLongMap using the given builderAction.

Cmn
inline FloatLongMap
buildFloatLongMap(initialCapacity: Int, builderAction: MutableFloatLongMap.() -> Unit)

Builds a new FloatLongMap by populating a MutableFloatLongMap using the given builderAction.

Cmn
inline FloatObjectMap
Any?> buildFloatObjectMap(builderAction: MutableFloatObjectMap.() -> Unit)

Builds a new FloatObjectMap by populating a MutableFloatObjectMap using the given builderAction.

Cmn
inline FloatObjectMap
Any?> buildFloatObjectMap(initialCapacity: Int, builderAction: MutableFloatObjectMap.() -> Unit)

Builds a new FloatObjectMap by populating a MutableFloatObjectMap using the given builderAction.

Cmn
inline FloatSet
buildFloatSet(builderAction: MutableFloatSet.() -> Unit)

Builds a new FloatSet by populating a MutableFloatSet using the given builderAction.

Cmn
inline FloatSet
buildFloatSet(initialCapacity: Int, builderAction: MutableFloatSet.() -> Unit)

Builds a new FloatSet by populating a MutableFloatSet using the given builderAction.

Cmn
inline IntFloatMap

Builds a new IntFloatMap by populating a MutableIntFloatMap using the given builderAction.

Cmn
inline IntFloatMap
buildIntFloatMap(initialCapacity: Int, builderAction: MutableIntFloatMap.() -> Unit)

Builds a new IntFloatMap by populating a MutableIntFloatMap using the given builderAction.

Cmn
inline IntIntMap
buildIntIntMap(builderAction: MutableIntIntMap.() -> Unit)

Builds a new IntIntMap by populating a MutableIntIntMap using the given builderAction.

Cmn
inline IntIntMap
buildIntIntMap(initialCapacity: Int, builderAction: MutableIntIntMap.() -> Unit)

Builds a new IntIntMap by populating a MutableIntIntMap using the given builderAction.

Cmn
inline IntList
buildIntList(builderAction: MutableIntList.() -> Unit)

Builds a new IntList by populating a MutableIntList using the given builderAction.

Cmn
inline IntList
buildIntList(initialCapacity: Int, builderAction: MutableIntList.() -> Unit)

Builds a new IntList by populating a MutableIntList using the given builderAction.

Cmn
inline IntLongMap
buildIntLongMap(builderAction: MutableIntLongMap.() -> Unit)

Builds a new IntLongMap by populating a MutableIntLongMap using the given builderAction.

Cmn
inline IntLongMap
buildIntLongMap(initialCapacity: Int, builderAction: MutableIntLongMap.() -> Unit)

Builds a new IntLongMap by populating a MutableIntLongMap using the given builderAction.

Cmn
inline IntObjectMap
Any?> buildIntObjectMap(builderAction: MutableIntObjectMap.() -> Unit)

Builds a new IntObjectMap by populating a MutableIntObjectMap using the given builderAction.

Cmn
inline IntObjectMap
Any?> buildIntObjectMap(initialCapacity: Int, builderAction: MutableIntObjectMap.() -> Unit)

Builds a new IntObjectMap by populating a MutableIntObjectMap using the given builderAction.

Cmn
inline IntSet
buildIntSet(builderAction: MutableIntSet.() -> Unit)

Builds a new IntSet by populating a MutableIntSet using the given builderAction.

Cmn
inline IntSet
buildIntSet(initialCapacity: Int, builderAction: MutableIntSet.() -> Unit)

Builds a new IntSet by populating a MutableIntSet using the given builderAction.

Cmn
inline LongFloatMap

Builds a new LongFloatMap by populating a MutableLongFloatMap using the given builderAction.

Cmn
inline LongFloatMap
buildLongFloatMap(initialCapacity: Int, builderAction: MutableLongFloatMap.() -> Unit)

Builds a new LongFloatMap by populating a MutableLongFloatMap using the given builderAction.

Cmn
inline LongIntMap
buildLongIntMap(builderAction: MutableLongIntMap.() -> Unit)

Builds a new LongIntMap by populating a MutableLongIntMap using the given builderAction.

Cmn
inline LongIntMap
buildLongIntMap(initialCapacity: Int, builderAction: MutableLongIntMap.() -> Unit)

Builds a new LongIntMap by populating a MutableLongIntMap using the given builderAction.

Cmn
inline LongList
buildLongList(builderAction: MutableLongList.() -> Unit)

Builds a new LongList by populating a MutableLongList using the given builderAction.

Cmn
inline LongList
buildLongList(initialCapacity: Int, builderAction: MutableLongList.() -> Unit)

Builds a new LongList by populating a MutableLongList using the given builderAction.

Cmn
inline LongLongMap

Builds a new LongLongMap by populating a MutableLongLongMap using the given builderAction.

Cmn
inline LongLongMap
buildLongLongMap(initialCapacity: Int, builderAction: MutableLongLongMap.() -> Unit)

Builds a new LongLongMap by populating a MutableLongLongMap using the given builderAction.

Cmn
inline LongObjectMap
Any?> buildLongObjectMap(builderAction: MutableLongObjectMap.() -> Unit)

Builds a new LongObjectMap by populating a MutableLongObjectMap using the given builderAction.

Cmn
inline LongObjectMap
Any?> buildLongObjectMap(initialCapacity: Int, builderAction: MutableLongObjectMap.() -> Unit)

Builds a new LongObjectMap by populating a MutableLongObjectMap using the given builderAction.

Cmn
inline LongSet
buildLongSet(builderAction: MutableLongSet.() -> Unit)

Builds a new LongSet by populating a MutableLongSet using the given builderAction.

Cmn
inline LongSet
buildLongSet(initialCapacity: Int, builderAction: MutableLongSet.() -> Unit)

Builds a new LongSet by populating a MutableLongSet using the given builderAction.

Cmn
inline ObjectFloatMap
Any?> buildObjectFloatMap(builderAction: MutableObjectFloatMap.() -> Unit)

Builds a new ObjectFloatMap by populating a MutableObjectFloatMap using the given builderAction.

Cmn
inline ObjectFloatMap
Any?> buildObjectFloatMap(initialCapacity: Int, builderAction: MutableObjectFloatMap.() -> Unit)

Builds a new ObjectFloatMap by populating a MutableObjectFloatMap using the given builderAction.

Cmn
inline ObjectIntMap
Any?> buildObjectIntMap(builderAction: MutableObjectIntMap.() -> Unit)

Builds a new ObjectIntMap by populating a MutableObjectIntMap using the given builderAction.

Cmn
inline ObjectIntMap
Any?> buildObjectIntMap(initialCapacity: Int, builderAction: MutableObjectIntMap.() -> Unit)

Builds a new ObjectIntMap by populating a MutableObjectIntMap using the given builderAction.

Cmn
inline ObjectLongMap
Any?> buildObjectLongMap(builderAction: MutableObjectLongMap.() -> Unit)

Builds a new ObjectLongMap by populating a MutableObjectLongMap using the given builderAction.

Cmn
inline ObjectLongMap
Any?> buildObjectLongMap(initialCapacity: Int, builderAction: MutableObjectLongMap.() -> Unit)

Builds a new ObjectLongMap by populating a MutableObjectLongMap using the given builderAction.

Cmn
DoubleList
Cmn
DoubleList
doubleListOf(element1: Double)
Cmn
DoubleList
doubleListOf(vararg elements: Double)
Cmn
DoubleList
doubleListOf(element1: Double, element2: Double)
Cmn
DoubleList
doubleListOf(element1: Double, element2: Double, element3: Double)
Cmn
DoubleList
Cmn
FloatFloatMap

Returns an empty, read-only FloatFloatMap.

Cmn
FloatIntMap

Returns an empty, read-only FloatIntMap.

Cmn
FloatList
Cmn
FloatLongMap

Returns an empty, read-only FloatLongMap.

Cmn
FloatObjectMap

Returns an empty, read-only FloatObjectMap.

Cmn
FloatSet

Returns an empty, read-only FloatSet.

Cmn
IntFloatMap

Returns an empty, read-only IntFloatMap.

Cmn
IntIntMap

Returns an empty, read-only IntIntMap.

Cmn
IntList
Cmn
IntLongMap

Returns an empty, read-only IntLongMap.

Cmn
IntObjectMap

Returns an empty, read-only IntObjectMap.

Cmn
IntSet

Returns an empty, read-only IntSet.

Cmn
LongFloatMap

Returns an empty, read-only LongFloatMap.

Cmn
LongIntMap

Returns an empty, read-only LongIntMap.

Cmn
LongList
Cmn
LongLongMap

Returns an empty, read-only LongLongMap.

Cmn
LongObjectMap

Returns an empty, read-only LongObjectMap.

Cmn
LongSet

Returns an empty, read-only LongSet.

Cmn
ObjectFloatMap

Returns an empty, read-only ObjectFloatMap.

Cmn
ObjectIntMap

Returns an empty, read-only ObjectIntMap.

Cmn
ObjectList
Cmn
ObjectLongMap

Returns an empty, read-only ObjectLongMap.

Cmn
OrderedScatterSet

Returns an empty, read-only OrderedScatterSet.

Cmn
ScatterMap
Any?, V : Any?> emptyScatterMap()

Returns an empty, read-only ScatterMap.

Cmn
ScatterSet

Returns an empty, read-only ScatterSet.

Cmn
FloatFloatMap

Returns a new MutableFloatFloatMap.

Cmn
FloatFloatMap
floatFloatMapOf(key1: Float, value1: Float)

Returns a new FloatFloatMap with key1 associated with value1.

Cmn
FloatFloatMap
floatFloatMapOf(key1: Float, value1: Float, key2: Float, value2: Float)

Returns a new FloatFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
FloatFloatMap
floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float
)

Returns a new FloatFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
FloatFloatMap
floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float
)

Returns a new FloatFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
FloatFloatMap
floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float,
    key5: Float,
    value5: Float
)

Returns a new FloatFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
FloatIntMap

Returns a new MutableFloatIntMap.

Cmn
FloatIntMap
floatIntMapOf(key1: Float, value1: Int)

Returns a new FloatIntMap with key1 associated with value1.

Cmn
FloatIntMap
floatIntMapOf(key1: Float, value1: Int, key2: Float, value2: Int)

Returns a new FloatIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
FloatIntMap
floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int
)

Returns a new FloatIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
FloatIntMap
floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int
)

Returns a new FloatIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
FloatIntMap
floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int,
    key5: Float,
    value5: Int
)

Returns a new FloatIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
FloatList
Cmn
FloatList
floatListOf(element1: Float)
Cmn
FloatList
floatListOf(vararg elements: Float)
Cmn
FloatList
floatListOf(element1: Float, element2: Float)
Cmn
FloatList
floatListOf(element1: Float, element2: Float, element3: Float)
Cmn
FloatLongMap

Returns a new MutableFloatLongMap.

Cmn
FloatLongMap
floatLongMapOf(key1: Float, value1: Long)

Returns a new FloatLongMap with key1 associated with value1.

Cmn
FloatLongMap
floatLongMapOf(key1: Float, value1: Long, key2: Float, value2: Long)

Returns a new FloatLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
FloatLongMap
floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long
)

Returns a new FloatLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
FloatLongMap
floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long
)

Returns a new FloatLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
FloatLongMap
floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long,
    key5: Float,
    value5: Long
)

Returns a new FloatLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
FloatObjectMap

Returns an empty, read-only FloatObjectMap.

Cmn
FloatObjectMap
Any?> floatObjectMapOf(key1: Float, value1: V)

Returns a new FloatObjectMap with key1 associated with value1.

Cmn
FloatObjectMap
Any?> floatObjectMapOf(key1: Float, value1: V, key2: Float, value2: V)

Returns a new FloatObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
FloatObjectMap
Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V
)

Returns a new FloatObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
FloatObjectMap
Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V
)

Returns a new FloatObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
FloatObjectMap
Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V,
    key5: Float,
    value5: V
)

Returns a new FloatObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
FloatSet

Returns an empty, read-only ScatterSet.

Cmn
FloatSet
floatSetOf(element1: Float)

Returns a new read-only FloatSet with only element1 in it.

Cmn
FloatSet
floatSetOf(vararg elements: Float)

Returns a new read-only FloatSet with only elements in it.

Cmn
FloatSet
floatSetOf(element1: Float, element2: Float)

Returns a new read-only FloatSet with only element1 and element2 in it.

Cmn
FloatSet
floatSetOf(element1: Float, element2: Float, element3: Float)

Returns a new read-only FloatSet with only element1, element2, and element3 in it.

Cmn
IntFloatMap

Returns a new MutableIntFloatMap.

Cmn
IntFloatMap
intFloatMapOf(key1: Int, value1: Float)

Returns a new IntFloatMap with key1 associated with value1.

Cmn
IntFloatMap
intFloatMapOf(key1: Int, value1: Float, key2: Int, value2: Float)

Returns a new IntFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
IntFloatMap
intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float
)

Returns a new IntFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
IntFloatMap
intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float
)

Returns a new IntFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
IntFloatMap
intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float,
    key5: Int,
    value5: Float
)

Returns a new IntFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
IntIntMap

Returns a new MutableIntIntMap.

Cmn
IntIntMap
intIntMapOf(key1: Int, value1: Int)

Returns a new IntIntMap with key1 associated with value1.

Cmn
IntIntMap
intIntMapOf(key1: Int, value1: Int, key2: Int, value2: Int)

Returns a new IntIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
IntIntMap
intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int
)

Returns a new IntIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
IntIntMap
intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int
)

Returns a new IntIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
IntIntMap
intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int,
    key5: Int,
    value5: Int
)

Returns a new IntIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
IntList
Cmn
IntList
intListOf(element1: Int)
Cmn
IntList
intListOf(vararg elements: Int)
Cmn
IntList
intListOf(element1: Int, element2: Int)
Cmn
IntList
intListOf(element1: Int, element2: Int, element3: Int)
Cmn
IntLongMap

Returns a new MutableIntLongMap.

Cmn
IntLongMap
intLongMapOf(key1: Int, value1: Long)

Returns a new IntLongMap with key1 associated with value1.

Cmn
IntLongMap
intLongMapOf(key1: Int, value1: Long, key2: Int, value2: Long)

Returns a new IntLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
IntLongMap
intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long
)

Returns a new IntLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
IntLongMap
intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long
)

Returns a new IntLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
IntLongMap
intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long,
    key5: Int,
    value5: Long
)

Returns a new IntLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
IntObjectMap

Returns an empty, read-only IntObjectMap.

Cmn
IntObjectMap
Any?> intObjectMapOf(key1: Int, value1: V)

Returns a new IntObjectMap with key1 associated with value1.

Cmn
IntObjectMap
Any?> intObjectMapOf(key1: Int, value1: V, key2: Int, value2: V)

Returns a new IntObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
IntObjectMap
Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V
)

Returns a new IntObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
IntObjectMap
Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V
)

Returns a new IntObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
IntObjectMap
Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V,
    key5: Int,
    value5: V
)

Returns a new IntObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
IntSet

Returns an empty, read-only ScatterSet.

Cmn
IntSet
intSetOf(element1: Int)

Returns a new read-only IntSet with only element1 in it.

Cmn
IntSet
intSetOf(vararg elements: Int)

Returns a new read-only IntSet with only elements in it.

Cmn
IntSet
intSetOf(element1: Int, element2: Int)

Returns a new read-only IntSet with only element1 and element2 in it.

Cmn
IntSet
intSetOf(element1: Int, element2: Int, element3: Int)

Returns a new read-only IntSet with only element1, element2, and element3 in it.

Cmn
LongFloatMap

Returns a new MutableLongFloatMap.

Cmn
LongFloatMap
longFloatMapOf(key1: Long, value1: Float)

Returns a new LongFloatMap with key1 associated with value1.

Cmn
LongFloatMap
longFloatMapOf(key1: Long, value1: Float, key2: Long, value2: Float)

Returns a new LongFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
LongFloatMap
longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float
)

Returns a new LongFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
LongFloatMap
longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float
)

Returns a new LongFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
LongFloatMap
longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float,
    key5: Long,
    value5: Float
)

Returns a new LongFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
LongIntMap

Returns a new MutableLongIntMap.

Cmn
LongIntMap
longIntMapOf(key1: Long, value1: Int)

Returns a new LongIntMap with key1 associated with value1.

Cmn
LongIntMap
longIntMapOf(key1: Long, value1: Int, key2: Long, value2: Int)

Returns a new LongIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
LongIntMap
longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int
)

Returns a new LongIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
LongIntMap
longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int
)

Returns a new LongIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
LongIntMap
longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int,
    key5: Long,
    value5: Int
)

Returns a new LongIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
LongList
Cmn
LongList
longListOf(element1: Long)
Cmn
LongList
longListOf(vararg elements: Long)
Cmn
LongList
longListOf(element1: Long, element2: Long)
Cmn
LongList
longListOf(element1: Long, element2: Long, element3: Long)
Cmn
LongLongMap

Returns a new MutableLongLongMap.

Cmn
LongLongMap
longLongMapOf(key1: Long, value1: Long)

Returns a new LongLongMap with key1 associated with value1.

Cmn
LongLongMap
longLongMapOf(key1: Long, value1: Long, key2: Long, value2: Long)

Returns a new LongLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
LongLongMap
longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long
)

Returns a new LongLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
LongLongMap
longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long
)

Returns a new LongLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
LongLongMap
longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long,
    key5: Long,
    value5: Long
)

Returns a new LongLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
LongObjectMap

Returns an empty, read-only LongObjectMap.

Cmn
LongObjectMap
Any?> longObjectMapOf(key1: Long, value1: V)

Returns a new LongObjectMap with key1 associated with value1.

Cmn
LongObjectMap
Any?> longObjectMapOf(key1: Long, value1: V, key2: Long, value2: V)

Returns a new LongObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
LongObjectMap
Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V
)

Returns a new LongObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
LongObjectMap
Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V
)

Returns a new LongObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
LongObjectMap
Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V,
    key5: Long,
    value5: V
)

Returns a new LongObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
LongSet

Returns an empty, read-only ScatterSet.

Cmn
LongSet
longSetOf(element1: Long)

Returns a new read-only LongSet with only element1 in it.

Cmn
LongSet
longSetOf(vararg elements: Long)

Returns a new read-only LongSet with only elements in it.

Cmn
LongSet
longSetOf(element1: Long, element2: Long)

Returns a new read-only LongSet with only element1 and element2 in it.

Cmn
LongSet
longSetOf(element1: Long, element2: Long, element3: Long)

Returns a new read-only LongSet with only element1, element2, and element3 in it.

Cmn
inline LruCache
Any, V : Any> lruCache(
    maxSize: Int,
    crossinline sizeOf: (key, value) -> Int,
    crossinline create: (key) -> V?,
    crossinline onEntryRemoved: (evicted: Boolean, key, oldValue, newValue?) -> Unit
)

Creates an LruCache with the given parameters.

Cmn
inline MutableDoubleList
Cmn
MutableDoubleList
Cmn
inline MutableDoubleList
mutableDoubleListOf(vararg elements: Double)
Cmn
MutableDoubleList
mutableDoubleListOf(element1: Double, element2: Double)
Cmn
MutableDoubleList
mutableDoubleListOf(element1: Double, element2: Double, element3: Double)
Cmn
MutableFloatFloatMap

Returns a new MutableFloatFloatMap.

Cmn
MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1 associated with value1.

Cmn
MutableFloatFloatMap
mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float
)

Returns a new MutableFloatFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableFloatFloatMap
mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float
)

Returns a new MutableFloatFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableFloatFloatMap
mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float
)

Returns a new MutableFloatFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableFloatFloatMap
mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float,
    key5: Float,
    value5: Float
)

Returns a new MutableFloatFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableFloatIntMap

Returns a new MutableFloatIntMap.

Cmn
MutableFloatIntMap
mutableFloatIntMapOf(key1: Float, value1: Int)

Returns a new MutableFloatIntMap with key1 associated with value1.

Cmn
MutableFloatIntMap
mutableFloatIntMapOf(key1: Float, value1: Int, key2: Float, value2: Int)

Returns a new MutableFloatIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableFloatIntMap
mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int
)

Returns a new MutableFloatIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableFloatIntMap
mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int
)

Returns a new MutableFloatIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableFloatIntMap
mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int,
    key5: Float,
    value5: Int
)

Returns a new MutableFloatIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
inline MutableFloatList
Cmn
MutableFloatList
Cmn
inline MutableFloatList
mutableFloatListOf(vararg elements: Float)
Cmn
MutableFloatList
mutableFloatListOf(element1: Float, element2: Float)
Cmn
MutableFloatList
mutableFloatListOf(element1: Float, element2: Float, element3: Float)
Cmn
MutableFloatLongMap

Returns a new MutableFloatLongMap.

Cmn
MutableFloatLongMap
mutableFloatLongMapOf(key1: Float, value1: Long)

Returns a new MutableFloatLongMap with key1 associated with value1.

Cmn
MutableFloatLongMap
mutableFloatLongMapOf(key1: Float, value1: Long, key2: Float, value2: Long)

Returns a new MutableFloatLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableFloatLongMap
mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long
)

Returns a new MutableFloatLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableFloatLongMap
mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long
)

Returns a new MutableFloatLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableFloatLongMap
mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long,
    key5: Float,
    value5: Long
)

Returns a new MutableFloatLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableFloatObjectMap

Returns a new MutableFloatObjectMap.

Cmn
MutableFloatObjectMap
Any?> mutableFloatObjectMapOf(key1: Float, value1: V)

Returns a new MutableFloatObjectMap with key1 associated with value1.

Cmn
MutableFloatObjectMap
Any?> mutableFloatObjectMapOf(key1: Float, value1: V, key2: Float, value2: V)

Returns a new MutableFloatObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableFloatObjectMap
Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V
)

Returns a new MutableFloatObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableFloatObjectMap
Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V
)

Returns a new MutableFloatObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableFloatObjectMap
Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V,
    key5: Float,
    value5: V
)

Returns a new MutableFloatObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableFloatSet

Returns a new MutableFloatSet.

Cmn
MutableFloatSet

Returns a new MutableFloatSet with only element1 in it.

Cmn
MutableFloatSet
mutableFloatSetOf(vararg elements: Float)

Returns a new MutableFloatSet with the specified elements.

Cmn
MutableFloatSet
mutableFloatSetOf(element1: Float, element2: Float)

Returns a new MutableFloatSet with only element1 and element2 in it.

Cmn
MutableFloatSet
mutableFloatSetOf(element1: Float, element2: Float, element3: Float)

Returns a new MutableFloatSet with only element1, element2, and element3 in it.

Cmn
MutableIntFloatMap

Returns a new MutableIntFloatMap.

Cmn
MutableIntFloatMap
mutableIntFloatMapOf(key1: Int, value1: Float)

Returns a new MutableIntFloatMap with key1 associated with value1.

Cmn
MutableIntFloatMap
mutableIntFloatMapOf(key1: Int, value1: Float, key2: Int, value2: Float)

Returns a new MutableIntFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableIntFloatMap
mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float
)

Returns a new MutableIntFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableIntFloatMap
mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float
)

Returns a new MutableIntFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableIntFloatMap
mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float,
    key5: Int,
    value5: Float
)

Returns a new MutableIntFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableIntIntMap

Returns a new MutableIntIntMap.

Cmn
MutableIntIntMap
mutableIntIntMapOf(key1: Int, value1: Int)

Returns a new MutableIntIntMap with key1 associated with value1.

Cmn
MutableIntIntMap
mutableIntIntMapOf(key1: Int, value1: Int, key2: Int, value2: Int)

Returns a new MutableIntIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableIntIntMap
mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int
)

Returns a new MutableIntIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableIntIntMap
mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int
)

Returns a new MutableIntIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableIntIntMap
mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int,
    key5: Int,
    value5: Int
)

Returns a new MutableIntIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
inline MutableIntList
Cmn
MutableIntList
mutableIntListOf(element1: Int)
Cmn
inline MutableIntList
mutableIntListOf(vararg elements: Int)
Cmn
MutableIntList
mutableIntListOf(element1: Int, element2: Int)
Cmn
MutableIntList
mutableIntListOf(element1: Int, element2: Int, element3: Int)
Cmn
MutableIntLongMap

Returns a new MutableIntLongMap.

Cmn
MutableIntLongMap
mutableIntLongMapOf(key1: Int, value1: Long)

Returns a new MutableIntLongMap with key1 associated with value1.

Cmn
MutableIntLongMap
mutableIntLongMapOf(key1: Int, value1: Long, key2: Int, value2: Long)

Returns a new MutableIntLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableIntLongMap
mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long
)

Returns a new MutableIntLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableIntLongMap
mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long
)

Returns a new MutableIntLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableIntLongMap
mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long,
    key5: Int,
    value5: Long
)

Returns a new MutableIntLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableIntObjectMap

Returns a new MutableIntObjectMap.

Cmn
MutableIntObjectMap
Any?> mutableIntObjectMapOf(key1: Int, value1: V)

Returns a new MutableIntObjectMap with key1 associated with value1.

Cmn
MutableIntObjectMap
Any?> mutableIntObjectMapOf(key1: Int, value1: V, key2: Int, value2: V)

Returns a new MutableIntObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableIntObjectMap
Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V
)

Returns a new MutableIntObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableIntObjectMap
Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V
)

Returns a new MutableIntObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableIntObjectMap
Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V,
    key5: Int,
    value5: V
)

Returns a new MutableIntObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableIntSet

Returns a new MutableIntSet.

Cmn
MutableIntSet
mutableIntSetOf(element1: Int)

Returns a new MutableIntSet with only element1 in it.

Cmn
MutableIntSet
mutableIntSetOf(vararg elements: Int)

Returns a new MutableIntSet with the specified elements.

Cmn
MutableIntSet
mutableIntSetOf(element1: Int, element2: Int)

Returns a new MutableIntSet with only element1 and element2 in it.

Cmn
MutableIntSet
mutableIntSetOf(element1: Int, element2: Int, element3: Int)

Returns a new MutableIntSet with only element1, element2, and element3 in it.

Cmn
MutableLongFloatMap

Returns a new MutableLongFloatMap.

Cmn
MutableLongFloatMap
mutableLongFloatMapOf(key1: Long, value1: Float)

Returns a new MutableLongFloatMap with key1 associated with value1.

Cmn
MutableLongFloatMap
mutableLongFloatMapOf(key1: Long, value1: Float, key2: Long, value2: Float)

Returns a new MutableLongFloatMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableLongFloatMap
mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float
)

Returns a new MutableLongFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableLongFloatMap
mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float
)

Returns a new MutableLongFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableLongFloatMap
mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float,
    key5: Long,
    value5: Float
)

Returns a new MutableLongFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableLongIntMap

Returns a new MutableLongIntMap.

Cmn
MutableLongIntMap
mutableLongIntMapOf(key1: Long, value1: Int)

Returns a new MutableLongIntMap with key1 associated with value1.

Cmn
MutableLongIntMap
mutableLongIntMapOf(key1: Long, value1: Int, key2: Long, value2: Int)

Returns a new MutableLongIntMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableLongIntMap
mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int
)

Returns a new MutableLongIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableLongIntMap
mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int
)

Returns a new MutableLongIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableLongIntMap
mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int,
    key5: Long,
    value5: Int
)

Returns a new MutableLongIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
inline MutableLongList
Cmn
MutableLongList
Cmn
inline MutableLongList
mutableLongListOf(vararg elements: Long)
Cmn
MutableLongList
mutableLongListOf(element1: Long, element2: Long)
Cmn
MutableLongList
mutableLongListOf(element1: Long, element2: Long, element3: Long)
Cmn
MutableLongLongMap

Returns a new MutableLongLongMap.

Cmn
MutableLongLongMap
mutableLongLongMapOf(key1: Long, value1: Long)

Returns a new MutableLongLongMap with key1 associated with value1.

Cmn
MutableLongLongMap
mutableLongLongMapOf(key1: Long, value1: Long, key2: Long, value2: Long)

Returns a new MutableLongLongMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableLongLongMap
mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long
)

Returns a new MutableLongLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableLongLongMap
mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long
)

Returns a new MutableLongLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableLongLongMap
mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long,
    key5: Long,
    value5: Long
)

Returns a new MutableLongLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableLongObjectMap

Returns a new MutableLongObjectMap.

Cmn
MutableLongObjectMap
Any?> mutableLongObjectMapOf(key1: Long, value1: V)

Returns a new MutableLongObjectMap with key1 associated with value1.

Cmn
MutableLongObjectMap
Any?> mutableLongObjectMapOf(key1: Long, value1: V, key2: Long, value2: V)

Returns a new MutableLongObjectMap with key1, and key2 associated with value1, and value2, respectively.

Cmn
MutableLongObjectMap
Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V
)

Returns a new MutableLongObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableLongObjectMap
Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V
)

Returns a new MutableLongObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableLongObjectMap
Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V,
    key5: Long,
    value5: V
)

Returns a new MutableLongObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableLongSet

Returns a new MutableLongSet.

Cmn
MutableLongSet

Returns a new MutableLongSet with only element1 in it.

Cmn
MutableLongSet
mutableLongSetOf(vararg elements: Long)

Returns a new MutableLongSet with the specified elements.

Cmn
MutableLongSet
mutableLongSetOf(element1: Long, element2: Long)

Returns a new MutableLongSet with only element1 and element2 in it.

Cmn
MutableLongSet
mutableLongSetOf(element1: Long, element2: Long, element3: Long)

Returns a new MutableLongSet with only element1, element2, and element3 in it.

Cmn
MutableObjectFloatMap

Returns a new empty MutableObjectFloatMap.

Cmn
MutableObjectFloatMap
Any?> mutableObjectFloatMapOf(key1: K, value1: Float)

Returns a new MutableObjectFloatMap with only key1 associated with value1.

Cmn
MutableObjectFloatMap
Any?> mutableObjectFloatMapOf(key1: K, value1: Float, key2: K, value2: Float)

Returns a new MutableObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
MutableObjectFloatMap
Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float
)

Returns a new MutableObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableObjectFloatMap
Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float
)

Returns a new MutableObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableObjectFloatMap
Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float,
    key5: K,
    value5: Float
)

Returns a new MutableObjectFloatMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableObjectIntMap

Returns a new empty MutableObjectIntMap.

Cmn
MutableObjectIntMap
Any?> mutableObjectIntMapOf(key1: K, value1: Int)

Returns a new MutableObjectIntMap with only key1 associated with value1.

Cmn
MutableObjectIntMap
Any?> mutableObjectIntMapOf(key1: K, value1: Int, key2: K, value2: Int)

Returns a new MutableObjectIntMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
MutableObjectIntMap
Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int
)

Returns a new MutableObjectIntMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableObjectIntMap
Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int
)

Returns a new MutableObjectIntMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableObjectIntMap
Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int,
    key5: K,
    value5: Int
)

Returns a new MutableObjectIntMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
inline MutableObjectList
Cmn
MutableObjectList
Any?> mutableObjectListOf(element1: E)
Cmn
inline MutableObjectList
Any?> mutableObjectListOf(vararg elements: E)
Cmn
MutableObjectList
Any?> mutableObjectListOf(element1: E, element2: E)
Cmn
MutableObjectList
Any?> mutableObjectListOf(element1: E, element2: E, element3: E)
Cmn
MutableObjectLongMap

Returns a new empty MutableObjectLongMap.

Cmn
MutableObjectLongMap
Any?> mutableObjectLongMapOf(key1: K, value1: Long)

Returns a new MutableObjectLongMap with only key1 associated with value1.

Cmn
MutableObjectLongMap
Any?> mutableObjectLongMapOf(key1: K, value1: Long, key2: K, value2: Long)

Returns a new MutableObjectLongMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
MutableObjectLongMap
Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long
)

Returns a new MutableObjectLongMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
MutableObjectLongMap
Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long
)

Returns a new MutableObjectLongMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
MutableObjectLongMap
Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long,
    key5: K,
    value5: Long
)

Returns a new MutableObjectLongMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet.

Cmn
MutableOrderedScatterSet
Any?> mutableOrderedScatterSetOf(element1: E)

Returns a new MutableOrderedScatterSet with only element1 in it.

Cmn
MutableOrderedScatterSet
Any?> mutableOrderedScatterSetOf(vararg elements: E)

Returns a new MutableOrderedScatterSet with the specified contents.

Cmn
MutableOrderedScatterSet
Any?> mutableOrderedScatterSetOf(element1: E, element2: E)

Returns a new MutableOrderedScatterSet with only element1 and element2 in it.

Cmn
MutableOrderedScatterSet
Any?> mutableOrderedScatterSetOf(element1: E, element2: E, element3: E)

Returns a new MutableOrderedScatterSet with only element1, element2, and element3 in it.

Cmn
MutableScatterMap
Any?, V : Any?> mutableScatterMapOf()

Returns a new MutableScatterMap.

Cmn
MutableScatterMap
Any?, V : Any?> mutableScatterMapOf(vararg pairs: Pair)

Returns a new MutableScatterMap with the specified contents, given as a list of pairs where the first component is the key and the second is the value.

Cmn
MutableScatterSet

Returns a new MutableScatterSet.

Cmn
MutableScatterSet
Any?> mutableScatterSetOf(element1: E)

Returns a new MutableScatterSet with only element1 in it.

Cmn
MutableScatterSet
Any?> mutableScatterSetOf(vararg elements: E)

Returns a new MutableScatterSet with the specified contents.

Cmn
MutableScatterSet
Any?> mutableScatterSetOf(element1: E, element2: E)

Returns a new MutableScatterSet with only element1 and element2 in it.

Cmn
MutableScatterSet
Any?> mutableScatterSetOf(element1: E, element2: E, element3: E)

Returns a new MutableScatterSet with only element1, element2, and element3 in it.

Cmn
ObjectFloatMap

Returns an empty, read-only ObjectFloatMap.

Cmn
ObjectFloatMap
Any?> objectFloatMapOf(key1: K, value1: Float)

Returns a new ObjectFloatMap with only key1 associated with value1.

Cmn
ObjectFloatMap
Any?> objectFloatMapOf(key1: K, value1: Float, key2: K, value2: Float)

Returns a new ObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
ObjectFloatMap
Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float
)

Returns a new ObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
ObjectFloatMap
Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float
)

Returns a new ObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
ObjectFloatMap
Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float,
    key5: K,
    value5: Float
)

Returns a new ObjectFloatMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
ObjectIntMap
Any?> objectIntMap()

Returns an empty, read-only ObjectIntMap.

Cmn
ObjectIntMap
Any?> objectIntMapOf(key1: K, value1: Int)

Returns a new ObjectIntMap with only key1 associated with value1.

Cmn
ObjectIntMap
Any?> objectIntMapOf(key1: K, value1: Int, key2: K, value2: Int)

Returns a new ObjectIntMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
ObjectIntMap
Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int
)

Returns a new ObjectIntMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
ObjectIntMap
Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int
)

Returns a new ObjectIntMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
ObjectIntMap
Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int,
    key5: K,
    value5: Int
)

Returns a new ObjectIntMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
ObjectList
Any?> objectListOf()
Cmn
ObjectList
Any?> objectListOf(element1: E)
Cmn
ObjectList
Any?> objectListOf(vararg elements: E)
Cmn
ObjectList
Any?> objectListOf(element1: E, element2: E)
Cmn
ObjectList
Any?> objectListOf(element1: E, element2: E, element3: E)
Cmn
ObjectLongMap

Returns an empty, read-only ObjectLongMap.

Cmn
ObjectLongMap
Any?> objectLongMapOf(key1: K, value1: Long)

Returns a new ObjectLongMap with only key1 associated with value1.

Cmn
ObjectLongMap
Any?> objectLongMapOf(key1: K, value1: Long, key2: K, value2: Long)

Returns a new ObjectLongMap with only key1 and key2 associated with value1 and value2, respectively.

Cmn
ObjectLongMap
Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long
)

Returns a new ObjectLongMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

Cmn
ObjectLongMap
Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long
)

Returns a new ObjectLongMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

Cmn
ObjectLongMap
Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long,
    key5: K,
    value5: Long
)

Returns a new ObjectLongMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

Cmn
OrderedScatterSet

Returns an empty, read-only OrderedScatterSet.

Cmn
OrderedScatterSet
Any?> orderedScatterSetOf(element1: E)

Returns a new read-only OrderedScatterSet with only element1 in it.

Cmn
OrderedScatterSet
Any?> orderedScatterSetOf(vararg elements: E)

Returns a new read-only OrderedScatterSet with only elements in it.

Cmn
OrderedScatterSet
Any?> orderedScatterSetOf(element1: E, element2: E)

Returns a new read-only OrderedScatterSet with only element1 and element2 in it.

Cmn
OrderedScatterSet
Any?> orderedScatterSetOf(element1: E, element2: E, element3: E)

Returns a new read-only OrderedScatterSet with only element1, element2, and element3 in it.

Cmn
ScatterSet
Any?> scatterSetOf()

Returns an empty, read-only ScatterSet.

Cmn
ScatterSet
Any?> scatterSetOf(element1: E)

Returns a new read-only ScatterSet with only element1 in it.

Cmn
ScatterSet
Any?> scatterSetOf(vararg elements: E)

Returns a new read-only ScatterSet with only elements in it.

Cmn
ScatterSet
Any?> scatterSetOf(element1: E, element2: E)

Returns a new read-only ScatterSet with only element1 and element2 in it.

Cmn
ScatterSet
Any?> scatterSetOf(element1: E, element2: E, element3: E)

Returns a new read-only ScatterSet with only element1, element2, and element3 in it.

Cmn

Extension functions summary

inline operator Boolean

Returns true if the collection contains key.

Cmn
inline operator Boolean

Returns true if the collection contains key.

Cmn
inline Unit
Any?> LongSparseArray.forEach(action: (key: Long, value) -> Unit)

Performs the given action for each key/value entry.

Cmn
inline Unit
Any?> SparseArrayCompat.forEach(action: (key: Int, value) -> Unit)

Performs the given action for each key/value entry.

Cmn
inline T
Any?> SparseArrayCompat.getOrDefault(key: Int, defaultValue: T)

Return the value corresponding to key, or defaultValue when not present.

Cmn
inline T
Any?> LongSparseArray.getOrDefault(key: Long, defaultValue: T)

Return the value corresponding to key, or defaultValue when not present.

Cmn
inline T
Any?> SparseArrayCompat.getOrElse(key: Int, defaultValue: () -> T)

Return the value corresponding to key, or from defaultValue when not present.

Cmn
inline T
Any?> LongSparseArray.getOrElse(key: Long, defaultValue: () -> T)

Return the value corresponding to key, or from defaultValue when not present.

Cmn
inline Boolean

Return true when the collection contains elements.

Cmn
inline Boolean

Return true when the collection contains elements.

Cmn
LongIterator

Return an iterator over the collection's keys.

Cmn
IntIterator

Return an iterator over the collection's keys.

Cmn
operator LongSparseArray

Creates a new collection by adding or replacing entries from other.

Cmn
operator SparseArrayCompat

Creates a new collection by adding or replacing entries from other.

Cmn
inline operator Unit
Any?> SparseArrayCompat.set(key: Int, value: T)

Allows the use of the index operator for storing values in the collection.

Cmn
inline operator Unit
Any?> LongSparseArray.set(key: Long, value: T)

Allows the use of the index operator for storing values in the collection.

Cmn
Iterator

Return an iterator over the collection's values.

Cmn
Iterator

Return an iterator over the collection's values.

Cmn

Extension properties summary

Int

Returns the number of key/value pairs in the collection.

Cmn
Int

Returns the number of key/value pairs in the collection.

Cmn

Top-level functions

arrayMapOf

inline fun Any?, V : Any?> arrayMapOf(): ArrayMap

Returns an empty new ArrayMap. NOTE: Consider using mutableScatterMapOf instead. MutableScatterMap also avoids creating a new object per entry but offers better performance characteristics.

arrayMapOf

fun Any?, V : Any?> arrayMapOf(vararg pairs: Pair): ArrayMap

Returns a new ArrayMap with the specified contents, given as a list of pairs where the first component is the key and the second component is the value.

If multiple pairs have the same key, the resulting map will contain the value from the last of those pairs.

NOTE: Consider using mutableScatterMapOf instead. MutableScatterMap also avoids creating a new object per entry but offers better performance characteristics.

arraySetOf

inline fun Any?> arraySetOf(): ArraySet

Returns an empty new ArraySet.

arraySetOf

fun Any?> arraySetOf(vararg values: T): ArraySet

Returns a new ArraySet with the specified contents.

buildDoubleList

inline fun buildDoubleList(builderAction: MutableDoubleList.() -> Unit): DoubleList

Builds a new DoubleList by populating a MutableDoubleList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableDoubleList.() -> Unit

Lambda in which the MutableDoubleList can be populated.

buildDoubleList

inline fun buildDoubleList(initialCapacity: Int, builderAction: MutableDoubleList.() -> Unit): DoubleList

Builds a new DoubleList by populating a MutableDoubleList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableDoubleList.() -> Unit

Lambda in which the MutableDoubleList can be populated.

buildFloatFloatMap

inline fun buildFloatFloatMap(builderAction: MutableFloatFloatMap.() -> Unit): FloatFloatMap

Builds a new FloatFloatMap by populating a MutableFloatFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatFloatMap.() -> Unit

Lambda in which the MutableFloatFloatMap can be populated.

buildFloatFloatMap

inline fun buildFloatFloatMap(initialCapacity: Int, builderAction: MutableFloatFloatMap.() -> Unit): FloatFloatMap

Builds a new FloatFloatMap by populating a MutableFloatFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableFloatFloatMap.() -> Unit

Lambda in which the MutableFloatFloatMap can be populated.

buildFloatIntMap

inline fun buildFloatIntMap(builderAction: MutableFloatIntMap.() -> Unit): FloatIntMap

Builds a new FloatIntMap by populating a MutableFloatIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatIntMap.() -> Unit

Lambda in which the MutableFloatIntMap can be populated.

buildFloatIntMap

inline fun buildFloatIntMap(initialCapacity: Int, builderAction: MutableFloatIntMap.() -> Unit): FloatIntMap

Builds a new FloatIntMap by populating a MutableFloatIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableFloatIntMap.() -> Unit

Lambda in which the MutableFloatIntMap can be populated.

buildFloatList

inline fun buildFloatList(builderAction: MutableFloatList.() -> Unit): FloatList

Builds a new FloatList by populating a MutableFloatList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatList.() -> Unit

Lambda in which the MutableFloatList can be populated.

buildFloatList

inline fun buildFloatList(initialCapacity: Int, builderAction: MutableFloatList.() -> Unit): FloatList

Builds a new FloatList by populating a MutableFloatList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableFloatList.() -> Unit

Lambda in which the MutableFloatList can be populated.

buildFloatLongMap

inline fun buildFloatLongMap(builderAction: MutableFloatLongMap.() -> Unit): FloatLongMap

Builds a new FloatLongMap by populating a MutableFloatLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatLongMap.() -> Unit

Lambda in which the MutableFloatLongMap can be populated.

buildFloatLongMap

inline fun buildFloatLongMap(initialCapacity: Int, builderAction: MutableFloatLongMap.() -> Unit): FloatLongMap

Builds a new FloatLongMap by populating a MutableFloatLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableFloatLongMap.() -> Unit

Lambda in which the MutableFloatLongMap can be populated.

buildFloatObjectMap

inline fun Any?> buildFloatObjectMap(builderAction: MutableFloatObjectMap.() -> Unit): FloatObjectMap

Builds a new FloatObjectMap by populating a MutableFloatObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatObjectMap.() -> Unit

Lambda in which the MutableFloatObjectMap can be populated.

buildFloatObjectMap

inline fun Any?> buildFloatObjectMap(initialCapacity: Int, builderAction: MutableFloatObjectMap.() -> Unit): FloatObjectMap

Builds a new FloatObjectMap by populating a MutableFloatObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableFloatObjectMap.() -> Unit

Lambda in which the MutableFloatObjectMap can be populated.

buildFloatSet

inline fun buildFloatSet(builderAction: MutableFloatSet.() -> Unit): FloatSet

Builds a new FloatSet by populating a MutableFloatSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableFloatSet.() -> Unit

Lambda in which the MutableFloatSet can be populated.

buildFloatSet

inline fun buildFloatSet(initialCapacity: Int, builderAction: MutableFloatSet.() -> Unit): FloatSet

Builds a new FloatSet by populating a MutableFloatSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableFloatSet.() -> Unit

Lambda in which the MutableFloatSet can be populated.

buildIntFloatMap

inline fun buildIntFloatMap(builderAction: MutableIntFloatMap.() -> Unit): IntFloatMap

Builds a new IntFloatMap by populating a MutableIntFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntFloatMap.() -> Unit

Lambda in which the MutableIntFloatMap can be populated.

buildIntFloatMap

inline fun buildIntFloatMap(initialCapacity: Int, builderAction: MutableIntFloatMap.() -> Unit): IntFloatMap

Builds a new IntFloatMap by populating a MutableIntFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableIntFloatMap.() -> Unit

Lambda in which the MutableIntFloatMap can be populated.

buildIntIntMap

inline fun buildIntIntMap(builderAction: MutableIntIntMap.() -> Unit): IntIntMap

Builds a new IntIntMap by populating a MutableIntIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntIntMap.() -> Unit

Lambda in which the MutableIntIntMap can be populated.

buildIntIntMap

inline fun buildIntIntMap(initialCapacity: Int, builderAction: MutableIntIntMap.() -> Unit): IntIntMap

Builds a new IntIntMap by populating a MutableIntIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableIntIntMap.() -> Unit

Lambda in which the MutableIntIntMap can be populated.

buildIntList

inline fun buildIntList(builderAction: MutableIntList.() -> Unit): IntList

Builds a new IntList by populating a MutableIntList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntList.() -> Unit

Lambda in which the MutableIntList can be populated.

buildIntList

inline fun buildIntList(initialCapacity: Int, builderAction: MutableIntList.() -> Unit): IntList

Builds a new IntList by populating a MutableIntList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableIntList.() -> Unit

Lambda in which the MutableIntList can be populated.

buildIntLongMap

inline fun buildIntLongMap(builderAction: MutableIntLongMap.() -> Unit): IntLongMap

Builds a new IntLongMap by populating a MutableIntLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntLongMap.() -> Unit

Lambda in which the MutableIntLongMap can be populated.

buildIntLongMap

inline fun buildIntLongMap(initialCapacity: Int, builderAction: MutableIntLongMap.() -> Unit): IntLongMap

Builds a new IntLongMap by populating a MutableIntLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableIntLongMap.() -> Unit

Lambda in which the MutableIntLongMap can be populated.

buildIntObjectMap

inline fun Any?> buildIntObjectMap(builderAction: MutableIntObjectMap.() -> Unit): IntObjectMap

Builds a new IntObjectMap by populating a MutableIntObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntObjectMap.() -> Unit

Lambda in which the MutableIntObjectMap can be populated.

buildIntObjectMap

inline fun Any?> buildIntObjectMap(initialCapacity: Int, builderAction: MutableIntObjectMap.() -> Unit): IntObjectMap

Builds a new IntObjectMap by populating a MutableIntObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableIntObjectMap.() -> Unit

Lambda in which the MutableIntObjectMap can be populated.

buildIntSet

inline fun buildIntSet(builderAction: MutableIntSet.() -> Unit): IntSet

Builds a new IntSet by populating a MutableIntSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableIntSet.() -> Unit

Lambda in which the MutableIntSet can be populated.

buildIntSet

inline fun buildIntSet(initialCapacity: Int, builderAction: MutableIntSet.() -> Unit): IntSet

Builds a new IntSet by populating a MutableIntSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableIntSet.() -> Unit

Lambda in which the MutableIntSet can be populated.

buildLongFloatMap

inline fun buildLongFloatMap(builderAction: MutableLongFloatMap.() -> Unit): LongFloatMap

Builds a new LongFloatMap by populating a MutableLongFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongFloatMap.() -> Unit

Lambda in which the MutableLongFloatMap can be populated.

buildLongFloatMap

inline fun buildLongFloatMap(initialCapacity: Int, builderAction: MutableLongFloatMap.() -> Unit): LongFloatMap

Builds a new LongFloatMap by populating a MutableLongFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableLongFloatMap.() -> Unit

Lambda in which the MutableLongFloatMap can be populated.

buildLongIntMap

inline fun buildLongIntMap(builderAction: MutableLongIntMap.() -> Unit): LongIntMap

Builds a new LongIntMap by populating a MutableLongIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongIntMap.() -> Unit

Lambda in which the MutableLongIntMap can be populated.

buildLongIntMap

inline fun buildLongIntMap(initialCapacity: Int, builderAction: MutableLongIntMap.() -> Unit): LongIntMap

Builds a new LongIntMap by populating a MutableLongIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableLongIntMap.() -> Unit

Lambda in which the MutableLongIntMap can be populated.

buildLongList

inline fun buildLongList(builderAction: MutableLongList.() -> Unit): LongList

Builds a new LongList by populating a MutableLongList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongList.() -> Unit

Lambda in which the MutableLongList can be populated.

buildLongList

inline fun buildLongList(initialCapacity: Int, builderAction: MutableLongList.() -> Unit): LongList

Builds a new LongList by populating a MutableLongList using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableLongList.() -> Unit

Lambda in which the MutableLongList can be populated.

buildLongLongMap

inline fun buildLongLongMap(builderAction: MutableLongLongMap.() -> Unit): LongLongMap

Builds a new LongLongMap by populating a MutableLongLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongLongMap.() -> Unit

Lambda in which the MutableLongLongMap can be populated.

buildLongLongMap

inline fun buildLongLongMap(initialCapacity: Int, builderAction: MutableLongLongMap.() -> Unit): LongLongMap

Builds a new LongLongMap by populating a MutableLongLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableLongLongMap.() -> Unit

Lambda in which the MutableLongLongMap can be populated.

buildLongObjectMap

inline fun Any?> buildLongObjectMap(builderAction: MutableLongObjectMap.() -> Unit): LongObjectMap

Builds a new LongObjectMap by populating a MutableLongObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongObjectMap.() -> Unit

Lambda in which the MutableLongObjectMap can be populated.

buildLongObjectMap

inline fun Any?> buildLongObjectMap(initialCapacity: Int, builderAction: MutableLongObjectMap.() -> Unit): LongObjectMap

Builds a new LongObjectMap by populating a MutableLongObjectMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableLongObjectMap.() -> Unit

Lambda in which the MutableLongObjectMap can be populated.

buildLongSet

inline fun buildLongSet(builderAction: MutableLongSet.() -> Unit): LongSet

Builds a new LongSet by populating a MutableLongSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableLongSet.() -> Unit

Lambda in which the MutableLongSet can be populated.

buildLongSet

inline fun buildLongSet(initialCapacity: Int, builderAction: MutableLongSet.() -> Unit): LongSet

Builds a new LongSet by populating a MutableLongSet using the given builderAction.

The set passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of elements added in the builderAction.

builderAction: MutableLongSet.() -> Unit

Lambda in which the MutableLongSet can be populated.

buildObjectFloatMap

inline fun Any?> buildObjectFloatMap(builderAction: MutableObjectFloatMap.() -> Unit): ObjectFloatMap

Builds a new ObjectFloatMap by populating a MutableObjectFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableObjectFloatMap.() -> Unit

Lambda in which the MutableObjectFloatMap can be populated.

buildObjectFloatMap

inline fun Any?> buildObjectFloatMap(initialCapacity: Int, builderAction: MutableObjectFloatMap.() -> Unit): ObjectFloatMap

Builds a new ObjectFloatMap by populating a MutableObjectFloatMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableObjectFloatMap.() -> Unit

Lambda in which the MutableObjectFloatMap can be populated.

buildObjectIntMap

inline fun Any?> buildObjectIntMap(builderAction: MutableObjectIntMap.() -> Unit): ObjectIntMap

Builds a new ObjectIntMap by populating a MutableObjectIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableObjectIntMap.() -> Unit

Lambda in which the MutableObjectIntMap can be populated.

buildObjectIntMap

inline fun Any?> buildObjectIntMap(initialCapacity: Int, builderAction: MutableObjectIntMap.() -> Unit): ObjectIntMap

Builds a new ObjectIntMap by populating a MutableObjectIntMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableObjectIntMap.() -> Unit

Lambda in which the MutableObjectIntMap can be populated.

buildObjectLongMap

inline fun Any?> buildObjectLongMap(builderAction: MutableObjectLongMap.() -> Unit): ObjectLongMap

Builds a new ObjectLongMap by populating a MutableObjectLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
builderAction: MutableObjectLongMap.() -> Unit

Lambda in which the MutableObjectLongMap can be populated.

buildObjectLongMap

inline fun Any?> buildObjectLongMap(initialCapacity: Int, builderAction: MutableObjectLongMap.() -> Unit): ObjectLongMap

Builds a new ObjectLongMap by populating a MutableObjectLongMap using the given builderAction.

The instance passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Parameters
initialCapacity: Int

Hint for the expected number of pairs added in the builderAction.

builderAction: MutableObjectLongMap.() -> Unit

Lambda in which the MutableObjectLongMap can be populated.

doubleListOf

fun doubleListOf(): DoubleList
Returns
DoubleList

a read-only DoubleList with nothing in it.

doubleListOf

fun doubleListOf(element1: Double): DoubleList
Returns
DoubleList

a new read-only DoubleList with element1 as the only item in the list.

doubleListOf

fun doubleListOf(vararg elements: Double): DoubleList
Returns
DoubleList

a new read-only DoubleList with elements in order.

doubleListOf

fun doubleListOf(element1: Double, element2: Double): DoubleList
Returns
DoubleList

a new read-only DoubleList with 2 elements, element1 and element2, in order.

doubleListOf

fun doubleListOf(element1: Double, element2: Double, element3: Double): DoubleList
Returns
DoubleList

a new read-only DoubleList with 3 elements, element1, element2, and element3, in order.

emptyDoubleList

fun emptyDoubleList(): DoubleList
Returns
DoubleList

a read-only DoubleList with nothing in it.

emptyFloatFloatMap

fun emptyFloatFloatMap(): FloatFloatMap

Returns an empty, read-only FloatFloatMap.

emptyFloatIntMap

fun emptyFloatIntMap(): FloatIntMap

Returns an empty, read-only FloatIntMap.

emptyFloatList

fun emptyFloatList(): FloatList
Returns
FloatList

a read-only FloatList with nothing in it.

emptyFloatLongMap

fun emptyFloatLongMap(): FloatLongMap

Returns an empty, read-only FloatLongMap.

emptyFloatObjectMap

fun Any?> emptyFloatObjectMap(): FloatObjectMap

Returns an empty, read-only FloatObjectMap.

emptyFloatSet

fun emptyFloatSet(): FloatSet

Returns an empty, read-only FloatSet.

emptyIntFloatMap

fun emptyIntFloatMap(): IntFloatMap

Returns an empty, read-only IntFloatMap.

emptyIntIntMap

fun emptyIntIntMap(): IntIntMap

Returns an empty, read-only IntIntMap.

emptyIntList

fun emptyIntList(): IntList
Returns
IntList

a read-only IntList with nothing in it.

emptyIntLongMap

fun emptyIntLongMap(): IntLongMap

Returns an empty, read-only IntLongMap.

emptyIntObjectMap

fun Any?> emptyIntObjectMap(): IntObjectMap

Returns an empty, read-only IntObjectMap.

emptyIntSet

fun emptyIntSet(): IntSet

Returns an empty, read-only IntSet.

emptyLongFloatMap

fun emptyLongFloatMap(): LongFloatMap

Returns an empty, read-only LongFloatMap.

emptyLongIntMap

fun emptyLongIntMap(): LongIntMap

Returns an empty, read-only LongIntMap.

emptyLongList

fun emptyLongList(): LongList
Returns
LongList

a read-only LongList with nothing in it.

emptyLongLongMap

fun emptyLongLongMap(): LongLongMap

Returns an empty, read-only LongLongMap.

emptyLongObjectMap

fun Any?> emptyLongObjectMap(): LongObjectMap

Returns an empty, read-only LongObjectMap.

emptyLongSet

fun emptyLongSet(): LongSet

Returns an empty, read-only LongSet.

emptyObjectFloatMap

fun Any?> emptyObjectFloatMap(): ObjectFloatMap

Returns an empty, read-only ObjectFloatMap.

emptyObjectIntMap

fun Any?> emptyObjectIntMap(): ObjectIntMap

Returns an empty, read-only ObjectIntMap.

emptyObjectList

fun Any?> emptyObjectList(): ObjectList
Returns
ObjectList

a read-only ObjectList with nothing in it.

emptyObjectLongMap

fun Any?> emptyObjectLongMap(): ObjectLongMap

Returns an empty, read-only ObjectLongMap.

emptyOrderedScatterSet

fun Any?> emptyOrderedScatterSet(): OrderedScatterSet

Returns an empty, read-only OrderedScatterSet.

emptyScatterMap

fun Any?, V : Any?> emptyScatterMap(): ScatterMap

Returns an empty, read-only ScatterMap.

emptyScatterSet

fun Any?> emptyScatterSet(): ScatterSet

Returns an empty, read-only ScatterSet.

floatFloatMapOf

fun floatFloatMapOf(): FloatFloatMap

Returns a new MutableFloatFloatMap.

floatFloatMapOf

fun floatFloatMapOf(key1: Float, value1: Float): FloatFloatMap

Returns a new FloatFloatMap with key1 associated with value1.

floatFloatMapOf

fun floatFloatMapOf(key1: Float, value1: Float, key2: Float, value2: Float): FloatFloatMap

Returns a new FloatFloatMap with key1, and key2 associated with value1, and value2, respectively.

floatFloatMapOf

fun floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float
): FloatFloatMap

Returns a new FloatFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

floatFloatMapOf

fun floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float
): FloatFloatMap

Returns a new FloatFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

floatFloatMapOf

fun floatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float,
    key5: Float,
    value5: Float
): FloatFloatMap

Returns a new FloatFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

floatIntMapOf

fun floatIntMapOf(): FloatIntMap

Returns a new MutableFloatIntMap.

floatIntMapOf

fun floatIntMapOf(key1: Float, value1: Int): FloatIntMap

Returns a new FloatIntMap with key1 associated with value1.

floatIntMapOf

fun floatIntMapOf(key1: Float, value1: Int, key2: Float, value2: Int): FloatIntMap

Returns a new FloatIntMap with key1, and key2 associated with value1, and value2, respectively.

floatIntMapOf

fun floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int
): FloatIntMap

Returns a new FloatIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

floatIntMapOf

fun floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int
): FloatIntMap

Returns a new FloatIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

floatIntMapOf

fun floatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int,
    key5: Float,
    value5: Int
): FloatIntMap

Returns a new FloatIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

floatListOf

fun floatListOf(): FloatList
Returns
FloatList

a read-only FloatList with nothing in it.

floatListOf

fun floatListOf(element1: Float): FloatList
Returns
FloatList

a new read-only FloatList with element1 as the only item in the list.

floatListOf

fun floatListOf(vararg elements: Float): FloatList
Returns
FloatList

a new read-only FloatList with elements in order.

floatListOf

fun floatListOf(element1: Float, element2: Float): FloatList
Returns
FloatList

a new read-only FloatList with 2 elements, element1 and element2, in order.

floatListOf

fun floatListOf(element1: Float, element2: Float, element3: Float): FloatList
Returns
FloatList

a new read-only FloatList with 3 elements, element1, element2, and element3, in order.

floatLongMapOf

fun floatLongMapOf(): FloatLongMap

Returns a new MutableFloatLongMap.

floatLongMapOf

fun floatLongMapOf(key1: Float, value1: Long): FloatLongMap

Returns a new FloatLongMap with key1 associated with value1.

floatLongMapOf

fun floatLongMapOf(key1: Float, value1: Long, key2: Float, value2: Long): FloatLongMap

Returns a new FloatLongMap with key1, and key2 associated with value1, and value2, respectively.

floatLongMapOf

fun floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long
): FloatLongMap

Returns a new FloatLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

floatLongMapOf

fun floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long
): FloatLongMap

Returns a new FloatLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

floatLongMapOf

fun floatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long,
    key5: Float,
    value5: Long
): FloatLongMap

Returns a new FloatLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

floatObjectMapOf

fun Any?> floatObjectMapOf(): FloatObjectMap

Returns an empty, read-only FloatObjectMap.

floatObjectMapOf

fun Any?> floatObjectMapOf(key1: Float, value1: V): FloatObjectMap

Returns a new FloatObjectMap with key1 associated with value1.

floatObjectMapOf

fun Any?> floatObjectMapOf(key1: Float, value1: V, key2: Float, value2: V): FloatObjectMap

Returns a new FloatObjectMap with key1, and key2 associated with value1, and value2, respectively.

floatObjectMapOf

fun Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V
): FloatObjectMap

Returns a new FloatObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

floatObjectMapOf

fun Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V
): FloatObjectMap

Returns a new FloatObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

floatObjectMapOf

fun Any?> floatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V,
    key5: Float,
    value5: V
): FloatObjectMap

Returns a new FloatObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

floatSetOf

fun floatSetOf(): FloatSet

Returns an empty, read-only ScatterSet.

floatSetOf

fun floatSetOf(element1: Float): FloatSet

Returns a new read-only FloatSet with only element1 in it.

floatSetOf

fun floatSetOf(vararg elements: Float): FloatSet

Returns a new read-only FloatSet with only elements in it.

floatSetOf

fun floatSetOf(element1: Float, element2: Float): FloatSet

Returns a new read-only FloatSet with only element1 and element2 in it.

floatSetOf

fun floatSetOf(element1: Float, element2: Float, element3: Float): FloatSet

Returns a new read-only FloatSet with only element1, element2, and element3 in it.

intFloatMapOf

fun intFloatMapOf(): IntFloatMap

Returns a new MutableIntFloatMap.

intFloatMapOf

fun intFloatMapOf(key1: Int, value1: Float): IntFloatMap

Returns a new IntFloatMap with key1 associated with value1.

intFloatMapOf

fun intFloatMapOf(key1: Int, value1: Float, key2: Int, value2: Float): IntFloatMap

Returns a new IntFloatMap with key1, and key2 associated with value1, and value2, respectively.

intFloatMapOf

fun intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float
): IntFloatMap

Returns a new IntFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

intFloatMapOf

fun intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float
): IntFloatMap

Returns a new IntFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

intFloatMapOf

fun intFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float,
    key5: Int,
    value5: Float
): IntFloatMap

Returns a new IntFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

intIntMapOf

fun intIntMapOf(): IntIntMap

Returns a new MutableIntIntMap.

intIntMapOf

fun intIntMapOf(key1: Int, value1: Int): IntIntMap

Returns a new IntIntMap with key1 associated with value1.

intIntMapOf

fun intIntMapOf(key1: Int, value1: Int, key2: Int, value2: Int): IntIntMap

Returns a new IntIntMap with key1, and key2 associated with value1, and value2, respectively.

intIntMapOf

fun intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int
): IntIntMap

Returns a new IntIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

intIntMapOf

fun intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int
): IntIntMap

Returns a new IntIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

intIntMapOf

fun intIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int,
    key5: Int,
    value5: Int
): IntIntMap

Returns a new IntIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

intListOf

fun intListOf(): IntList
Returns
IntList

a read-only IntList with nothing in it.

intListOf

fun intListOf(element1: Int): IntList
Returns
IntList

a new read-only IntList with element1 as the only item in the list.

intListOf

fun intListOf(vararg elements: Int): IntList
Returns
IntList

a new read-only IntList with elements in order.

intListOf

fun intListOf(element1: Int, element2: Int): IntList
Returns
IntList

a new read-only IntList with 2 elements, element1 and element2, in order.

intListOf

fun intListOf(element1: Int, element2: Int, element3: Int): IntList
Returns
IntList

a new read-only IntList with 3 elements, element1, element2, and element3, in order.

intLongMapOf

fun intLongMapOf(): IntLongMap

Returns a new MutableIntLongMap.

intLongMapOf

fun intLongMapOf(key1: Int, value1: Long): IntLongMap

Returns a new IntLongMap with key1 associated with value1.

intLongMapOf

fun intLongMapOf(key1: Int, value1: Long, key2: Int, value2: Long): IntLongMap

Returns a new IntLongMap with key1, and key2 associated with value1, and value2, respectively.

intLongMapOf

fun intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long
): IntLongMap

Returns a new IntLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

intLongMapOf

fun intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long
): IntLongMap

Returns a new IntLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

intLongMapOf

fun intLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long,
    key5: Int,
    value5: Long
): IntLongMap

Returns a new IntLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

intObjectMapOf

fun Any?> intObjectMapOf(): IntObjectMap

Returns an empty, read-only IntObjectMap.

intObjectMapOf

fun Any?> intObjectMapOf(key1: Int, value1: V): IntObjectMap

Returns a new IntObjectMap with key1 associated with value1.

intObjectMapOf

fun Any?> intObjectMapOf(key1: Int, value1: V, key2: Int, value2: V): IntObjectMap

Returns a new IntObjectMap with key1, and key2 associated with value1, and value2, respectively.

intObjectMapOf

fun Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V
): IntObjectMap

Returns a new IntObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

intObjectMapOf

fun Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V
): IntObjectMap

Returns a new IntObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

intObjectMapOf

fun Any?> intObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V,
    key5: Int,
    value5: V
): IntObjectMap

Returns a new IntObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

intSetOf

fun intSetOf(): IntSet

Returns an empty, read-only ScatterSet.

intSetOf

fun intSetOf(element1: Int): IntSet

Returns a new read-only IntSet with only element1 in it.

intSetOf

fun intSetOf(vararg elements: Int): IntSet

Returns a new read-only IntSet with only elements in it.

intSetOf

fun intSetOf(element1: Int, element2: Int): IntSet

Returns a new read-only IntSet with only element1 and element2 in it.

intSetOf

fun intSetOf(element1: Int, element2: Int, element3: Int): IntSet

Returns a new read-only IntSet with only element1, element2, and element3 in it.

longFloatMapOf

fun longFloatMapOf(): LongFloatMap

Returns a new MutableLongFloatMap.

longFloatMapOf

fun longFloatMapOf(key1: Long, value1: Float): LongFloatMap

Returns a new LongFloatMap with key1 associated with value1.

longFloatMapOf

fun longFloatMapOf(key1: Long, value1: Float, key2: Long, value2: Float): LongFloatMap

Returns a new LongFloatMap with key1, and key2 associated with value1, and value2, respectively.

longFloatMapOf

fun longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float
): LongFloatMap

Returns a new LongFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

longFloatMapOf

fun longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float
): LongFloatMap

Returns a new LongFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

longFloatMapOf

fun longFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float,
    key5: Long,
    value5: Float
): LongFloatMap

Returns a new LongFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

longIntMapOf

fun longIntMapOf(): LongIntMap

Returns a new MutableLongIntMap.

longIntMapOf

fun longIntMapOf(key1: Long, value1: Int): LongIntMap

Returns a new LongIntMap with key1 associated with value1.

longIntMapOf

fun longIntMapOf(key1: Long, value1: Int, key2: Long, value2: Int): LongIntMap

Returns a new LongIntMap with key1, and key2 associated with value1, and value2, respectively.

longIntMapOf

fun longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int
): LongIntMap

Returns a new LongIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

longIntMapOf

fun longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int
): LongIntMap

Returns a new LongIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

longIntMapOf

fun longIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int,
    key5: Long,
    value5: Int
): LongIntMap

Returns a new LongIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

longListOf

fun longListOf(): LongList
Returns
LongList

a read-only LongList with nothing in it.

longListOf

fun longListOf(element1: Long): LongList
Returns
LongList

a new read-only LongList with element1 as the only item in the list.

longListOf

fun longListOf(vararg elements: Long): LongList
Returns
LongList

a new read-only LongList with elements in order.

longListOf

fun longListOf(element1: Long, element2: Long): LongList
Returns
LongList

a new read-only LongList with 2 elements, element1 and element2, in order.

longListOf

fun longListOf(element1: Long, element2: Long, element3: Long): LongList
Returns
LongList

a new read-only LongList with 3 elements, element1, element2, and element3, in order.

longLongMapOf

fun longLongMapOf(): LongLongMap

Returns a new MutableLongLongMap.

longLongMapOf

fun longLongMapOf(key1: Long, value1: Long): LongLongMap

Returns a new LongLongMap with key1 associated with value1.

longLongMapOf

fun longLongMapOf(key1: Long, value1: Long, key2: Long, value2: Long): LongLongMap

Returns a new LongLongMap with key1, and key2 associated with value1, and value2, respectively.

longLongMapOf

fun longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long
): LongLongMap

Returns a new LongLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

longLongMapOf

fun longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long
): LongLongMap

Returns a new LongLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

longLongMapOf

fun longLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long,
    key5: Long,
    value5: Long
): LongLongMap

Returns a new LongLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

longObjectMapOf

fun Any?> longObjectMapOf(): LongObjectMap

Returns an empty, read-only LongObjectMap.

longObjectMapOf

fun Any?> longObjectMapOf(key1: Long, value1: V): LongObjectMap

Returns a new LongObjectMap with key1 associated with value1.

longObjectMapOf

fun Any?> longObjectMapOf(key1: Long, value1: V, key2: Long, value2: V): LongObjectMap

Returns a new LongObjectMap with key1, and key2 associated with value1, and value2, respectively.

longObjectMapOf

fun Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V
): LongObjectMap

Returns a new LongObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

longObjectMapOf

fun Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V
): LongObjectMap

Returns a new LongObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

longObjectMapOf

fun Any?> longObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V,
    key5: Long,
    value5: V
): LongObjectMap

Returns a new LongObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

longSetOf

fun longSetOf(): LongSet

Returns an empty, read-only ScatterSet.

longSetOf

fun longSetOf(element1: Long): LongSet

Returns a new read-only LongSet with only element1 in it.

longSetOf

fun longSetOf(vararg elements: Long): LongSet

Returns a new read-only LongSet with only elements in it.

longSetOf

fun longSetOf(element1: Long, element2: Long): LongSet

Returns a new read-only LongSet with only element1 and element2 in it.

longSetOf

fun longSetOf(element1: Long, element2: Long, element3: Long): LongSet

Returns a new read-only LongSet with only element1, element2, and element3 in it.

lruCache

inline fun Any, V : Any> lruCache(
    maxSize: Int,
    crossinline sizeOf: (key, value) -> Int = { _, _ -> 1 },
    crossinline create: (key) -> V? = { null as V? },
    crossinline onEntryRemoved: (evicted: Boolean, key, oldValue, newValue?) -> Unit = { _, _, _, _ -> }
): LruCache

Creates an LruCache with the given parameters.

Parameters
maxSize: Int

for caches that do not specify sizeOf, this is the maximum number of entries in the cache. For all other caches, this is the maximum sum of the sizes of the entries in this cache.

crossinline sizeOf: (key, value) -> Int = { _, _ -> 1 }

function that returns the size of the entry for key and value in user-defined units. The default implementation returns 1.

crossinline create: (key) -> V? = { null as V? }

a create called after a cache miss to compute a value for the corresponding key. Returns the computed value or null if no value can be computed. The default implementation returns null.

crossinline onEntryRemoved: (evicted: Boolean, key, oldValue, newValue?) -> Unit = { _, _, _, _ -> }

a function called for entries that have been evicted or removed.

mutableDoubleListOf

inline fun mutableDoubleListOf(): MutableDoubleList
Returns
MutableDoubleList

a new empty MutableDoubleList with the default capacity.

mutableDoubleListOf

fun mutableDoubleListOf(element1: Double): MutableDoubleList
Returns
MutableDoubleList

a new MutableDoubleList with element1 as the only item in the list.

mutableDoubleListOf

inline fun mutableDoubleListOf(vararg elements: Double): MutableDoubleList
Returns
MutableDoubleList

a new MutableDoubleList with the given elements, in order.

mutableDoubleListOf

fun mutableDoubleListOf(element1: Double, element2: Double): MutableDoubleList
Returns
MutableDoubleList

a new MutableDoubleList with 2 elements, element1 and element2, in order.

mutableDoubleListOf

fun mutableDoubleListOf(element1: Double, element2: Double, element3: Double): MutableDoubleList
Returns
MutableDoubleList

a new MutableDoubleList with 3 elements, element1, element2, and element3, in order.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(): MutableFloatFloatMap

Returns a new MutableFloatFloatMap.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(key1: Float, value1: Float): MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1 associated with value1.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float
): MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1, and key2 associated with value1, and value2, respectively.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float
): MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float
): MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableFloatFloatMapOf

fun mutableFloatFloatMapOf(
    key1: Float,
    value1: Float,
    key2: Float,
    value2: Float,
    key3: Float,
    value3: Float,
    key4: Float,
    value4: Float,
    key5: Float,
    value5: Float
): MutableFloatFloatMap

Returns a new MutableFloatFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(): MutableFloatIntMap

Returns a new MutableFloatIntMap.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(key1: Float, value1: Int): MutableFloatIntMap

Returns a new MutableFloatIntMap with key1 associated with value1.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(key1: Float, value1: Int, key2: Float, value2: Int): MutableFloatIntMap

Returns a new MutableFloatIntMap with key1, and key2 associated with value1, and value2, respectively.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int
): MutableFloatIntMap

Returns a new MutableFloatIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int
): MutableFloatIntMap

Returns a new MutableFloatIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableFloatIntMapOf

fun mutableFloatIntMapOf(
    key1: Float,
    value1: Int,
    key2: Float,
    value2: Int,
    key3: Float,
    value3: Int,
    key4: Float,
    value4: Int,
    key5: Float,
    value5: Int
): MutableFloatIntMap

Returns a new MutableFloatIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableFloatListOf

inline fun mutableFloatListOf(): MutableFloatList
Returns
MutableFloatList

a new empty MutableFloatList with the default capacity.

mutableFloatListOf

fun mutableFloatListOf(element1: Float): MutableFloatList
Returns
MutableFloatList

a new MutableFloatList with element1 as the only item in the list.

mutableFloatListOf

inline fun mutableFloatListOf(vararg elements: Float): MutableFloatList
Returns
MutableFloatList

a new MutableFloatList with the given elements, in order.

mutableFloatListOf

fun mutableFloatListOf(element1: Float, element2: Float): MutableFloatList
Returns
MutableFloatList

a new MutableFloatList with 2 elements, element1 and element2, in order.

mutableFloatListOf

fun mutableFloatListOf(element1: Float, element2: Float, element3: Float): MutableFloatList
Returns
MutableFloatList

a new MutableFloatList with 3 elements, element1, element2, and element3, in order.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(): MutableFloatLongMap

Returns a new MutableFloatLongMap.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(key1: Float, value1: Long): MutableFloatLongMap

Returns a new MutableFloatLongMap with key1 associated with value1.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(key1: Float, value1: Long, key2: Float, value2: Long): MutableFloatLongMap

Returns a new MutableFloatLongMap with key1, and key2 associated with value1, and value2, respectively.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long
): MutableFloatLongMap

Returns a new MutableFloatLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long
): MutableFloatLongMap

Returns a new MutableFloatLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableFloatLongMapOf

fun mutableFloatLongMapOf(
    key1: Float,
    value1: Long,
    key2: Float,
    value2: Long,
    key3: Float,
    value3: Long,
    key4: Float,
    value4: Long,
    key5: Float,
    value5: Long
): MutableFloatLongMap

Returns a new MutableFloatLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(): MutableFloatObjectMap

Returns a new MutableFloatObjectMap.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(key1: Float, value1: V): MutableFloatObjectMap

Returns a new MutableFloatObjectMap with key1 associated with value1.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(key1: Float, value1: V, key2: Float, value2: V): MutableFloatObjectMap

Returns a new MutableFloatObjectMap with key1, and key2 associated with value1, and value2, respectively.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V
): MutableFloatObjectMap

Returns a new MutableFloatObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V
): MutableFloatObjectMap

Returns a new MutableFloatObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableFloatObjectMapOf

fun Any?> mutableFloatObjectMapOf(
    key1: Float,
    value1: V,
    key2: Float,
    value2: V,
    key3: Float,
    value3: V,
    key4: Float,
    value4: V,
    key5: Float,
    value5: V
): MutableFloatObjectMap

Returns a new MutableFloatObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableFloatSetOf

fun mutableFloatSetOf(): MutableFloatSet

Returns a new MutableFloatSet.

mutableFloatSetOf

fun mutableFloatSetOf(element1: Float): MutableFloatSet

Returns a new MutableFloatSet with only element1 in it.

mutableFloatSetOf

fun mutableFloatSetOf(vararg elements: Float): MutableFloatSet

Returns a new MutableFloatSet with the specified elements.

mutableFloatSetOf

fun mutableFloatSetOf(element1: Float, element2: Float): MutableFloatSet

Returns a new MutableFloatSet with only element1 and element2 in it.

mutableFloatSetOf

fun mutableFloatSetOf(element1: Float, element2: Float, element3: Float): MutableFloatSet

Returns a new MutableFloatSet with only element1, element2, and element3 in it.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(): MutableIntFloatMap

Returns a new MutableIntFloatMap.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(key1: Int, value1: Float): MutableIntFloatMap

Returns a new MutableIntFloatMap with key1 associated with value1.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(key1: Int, value1: Float, key2: Int, value2: Float): MutableIntFloatMap

Returns a new MutableIntFloatMap with key1, and key2 associated with value1, and value2, respectively.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float
): MutableIntFloatMap

Returns a new MutableIntFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float
): MutableIntFloatMap

Returns a new MutableIntFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableIntFloatMapOf

fun mutableIntFloatMapOf(
    key1: Int,
    value1: Float,
    key2: Int,
    value2: Float,
    key3: Int,
    value3: Float,
    key4: Int,
    value4: Float,
    key5: Int,
    value5: Float
): MutableIntFloatMap

Returns a new MutableIntFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableIntIntMapOf

fun mutableIntIntMapOf(): MutableIntIntMap

Returns a new MutableIntIntMap.

mutableIntIntMapOf

fun mutableIntIntMapOf(key1: Int, value1: Int): MutableIntIntMap

Returns a new MutableIntIntMap with key1 associated with value1.

mutableIntIntMapOf

fun mutableIntIntMapOf(key1: Int, value1: Int, key2: Int, value2: Int): MutableIntIntMap

Returns a new MutableIntIntMap with key1, and key2 associated with value1, and value2, respectively.

mutableIntIntMapOf

fun mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int
): MutableIntIntMap

Returns a new MutableIntIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableIntIntMapOf

fun mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int
): MutableIntIntMap

Returns a new MutableIntIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableIntIntMapOf

fun mutableIntIntMapOf(
    key1: Int,
    value1: Int,
    key2: Int,
    value2: Int,
    key3: Int,
    value3: Int,
    key4: Int,
    value4: Int,
    key5: Int,
    value5: Int
): MutableIntIntMap

Returns a new MutableIntIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableIntListOf

inline fun mutableIntListOf(): MutableIntList
Returns
MutableIntList

a new empty MutableIntList with the default capacity.

mutableIntListOf

fun mutableIntListOf(element1: Int): MutableIntList
Returns
MutableIntList

a new MutableIntList with element1 as the only item in the list.

mutableIntListOf

inline fun mutableIntListOf(vararg elements: Int): MutableIntList
Returns
MutableIntList

a new MutableIntList with the given elements, in order.

mutableIntListOf

fun mutableIntListOf(element1: Int, element2: Int): MutableIntList
Returns
MutableIntList

a new MutableIntList with 2 elements, element1 and element2, in order.

mutableIntListOf

fun mutableIntListOf(element1: Int, element2: Int, element3: Int): MutableIntList
Returns
MutableIntList

a new MutableIntList with 3 elements, element1, element2, and element3, in order.

mutableIntLongMapOf

fun mutableIntLongMapOf(): MutableIntLongMap

Returns a new MutableIntLongMap.

mutableIntLongMapOf

fun mutableIntLongMapOf(key1: Int, value1: Long): MutableIntLongMap

Returns a new MutableIntLongMap with key1 associated with value1.

mutableIntLongMapOf

fun mutableIntLongMapOf(key1: Int, value1: Long, key2: Int, value2: Long): MutableIntLongMap

Returns a new MutableIntLongMap with key1, and key2 associated with value1, and value2, respectively.

mutableIntLongMapOf

fun mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long
): MutableIntLongMap

Returns a new MutableIntLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableIntLongMapOf

fun mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long
): MutableIntLongMap

Returns a new MutableIntLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableIntLongMapOf

fun mutableIntLongMapOf(
    key1: Int,
    value1: Long,
    key2: Int,
    value2: Long,
    key3: Int,
    value3: Long,
    key4: Int,
    value4: Long,
    key5: Int,
    value5: Long
): MutableIntLongMap

Returns a new MutableIntLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(): MutableIntObjectMap

Returns a new MutableIntObjectMap.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(key1: Int, value1: V): MutableIntObjectMap

Returns a new MutableIntObjectMap with key1 associated with value1.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(key1: Int, value1: V, key2: Int, value2: V): MutableIntObjectMap

Returns a new MutableIntObjectMap with key1, and key2 associated with value1, and value2, respectively.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V
): MutableIntObjectMap

Returns a new MutableIntObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V
): MutableIntObjectMap

Returns a new MutableIntObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableIntObjectMapOf

fun Any?> mutableIntObjectMapOf(
    key1: Int,
    value1: V,
    key2: Int,
    value2: V,
    key3: Int,
    value3: V,
    key4: Int,
    value4: V,
    key5: Int,
    value5: V
): MutableIntObjectMap

Returns a new MutableIntObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableIntSetOf

fun mutableIntSetOf(): MutableIntSet

Returns a new MutableIntSet.

mutableIntSetOf

fun mutableIntSetOf(element1: Int): MutableIntSet

Returns a new MutableIntSet with only element1 in it.

mutableIntSetOf

fun mutableIntSetOf(vararg elements: Int): MutableIntSet

Returns a new MutableIntSet with the specified elements.

mutableIntSetOf

fun mutableIntSetOf(element1: Int, element2: Int): MutableIntSet

Returns a new MutableIntSet with only element1 and element2 in it.

mutableIntSetOf

fun mutableIntSetOf(element1: Int, element2: Int, element3: Int): MutableIntSet

Returns a new MutableIntSet with only element1, element2, and element3 in it.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(): MutableLongFloatMap

Returns a new MutableLongFloatMap.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(key1: Long, value1: Float): MutableLongFloatMap

Returns a new MutableLongFloatMap with key1 associated with value1.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(key1: Long, value1: Float, key2: Long, value2: Float): MutableLongFloatMap

Returns a new MutableLongFloatMap with key1, and key2 associated with value1, and value2, respectively.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float
): MutableLongFloatMap

Returns a new MutableLongFloatMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float
): MutableLongFloatMap

Returns a new MutableLongFloatMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableLongFloatMapOf

fun mutableLongFloatMapOf(
    key1: Long,
    value1: Float,
    key2: Long,
    value2: Float,
    key3: Long,
    value3: Float,
    key4: Long,
    value4: Float,
    key5: Long,
    value5: Float
): MutableLongFloatMap

Returns a new MutableLongFloatMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableLongIntMapOf

fun mutableLongIntMapOf(): MutableLongIntMap

Returns a new MutableLongIntMap.

mutableLongIntMapOf

fun mutableLongIntMapOf(key1: Long, value1: Int): MutableLongIntMap

Returns a new MutableLongIntMap with key1 associated with value1.

mutableLongIntMapOf

fun mutableLongIntMapOf(key1: Long, value1: Int, key2: Long, value2: Int): MutableLongIntMap

Returns a new MutableLongIntMap with key1, and key2 associated with value1, and value2, respectively.

mutableLongIntMapOf

fun mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int
): MutableLongIntMap

Returns a new MutableLongIntMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableLongIntMapOf

fun mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int
): MutableLongIntMap

Returns a new MutableLongIntMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableLongIntMapOf

fun mutableLongIntMapOf(
    key1: Long,
    value1: Int,
    key2: Long,
    value2: Int,
    key3: Long,
    value3: Int,
    key4: Long,
    value4: Int,
    key5: Long,
    value5: Int
): MutableLongIntMap

Returns a new MutableLongIntMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableLongListOf

inline fun mutableLongListOf(): MutableLongList
Returns
MutableLongList

a new empty MutableLongList with the default capacity.

mutableLongListOf

fun mutableLongListOf(element1: Long): MutableLongList
Returns
MutableLongList

a new MutableLongList with element1 as the only item in the list.

mutableLongListOf

inline fun mutableLongListOf(vararg elements: Long): MutableLongList
Returns
MutableLongList

a new MutableLongList with the given elements, in order.

mutableLongListOf

fun mutableLongListOf(element1: Long, element2: Long): MutableLongList
Returns
MutableLongList

a new MutableLongList with 2 elements, element1 and element2, in order.

mutableLongListOf

fun mutableLongListOf(element1: Long, element2: Long, element3: Long): MutableLongList
Returns
MutableLongList

a new MutableLongList with 3 elements, element1, element2, and element3, in order.

mutableLongLongMapOf

fun mutableLongLongMapOf(): MutableLongLongMap

Returns a new MutableLongLongMap.

mutableLongLongMapOf

fun mutableLongLongMapOf(key1: Long, value1: Long): MutableLongLongMap

Returns a new MutableLongLongMap with key1 associated with value1.

mutableLongLongMapOf

fun mutableLongLongMapOf(key1: Long, value1: Long, key2: Long, value2: Long): MutableLongLongMap

Returns a new MutableLongLongMap with key1, and key2 associated with value1, and value2, respectively.

mutableLongLongMapOf

fun mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long
): MutableLongLongMap

Returns a new MutableLongLongMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableLongLongMapOf

fun mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long
): MutableLongLongMap

Returns a new MutableLongLongMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableLongLongMapOf

fun mutableLongLongMapOf(
    key1: Long,
    value1: Long,
    key2: Long,
    value2: Long,
    key3: Long,
    value3: Long,
    key4: Long,
    value4: Long,
    key5: Long,
    value5: Long
): MutableLongLongMap

Returns a new MutableLongLongMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(): MutableLongObjectMap

Returns a new MutableLongObjectMap.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(key1: Long, value1: V): MutableLongObjectMap

Returns a new MutableLongObjectMap with key1 associated with value1.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(key1: Long, value1: V, key2: Long, value2: V): MutableLongObjectMap

Returns a new MutableLongObjectMap with key1, and key2 associated with value1, and value2, respectively.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V
): MutableLongObjectMap

Returns a new MutableLongObjectMap with key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V
): MutableLongObjectMap

Returns a new MutableLongObjectMap with key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableLongObjectMapOf

fun Any?> mutableLongObjectMapOf(
    key1: Long,
    value1: V,
    key2: Long,
    value2: V,
    key3: Long,
    value3: V,
    key4: Long,
    value4: V,
    key5: Long,
    value5: V
): MutableLongObjectMap

Returns a new MutableLongObjectMap with key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableLongSetOf

fun mutableLongSetOf(): MutableLongSet

Returns a new MutableLongSet.

mutableLongSetOf

fun mutableLongSetOf(element1: Long): MutableLongSet

Returns a new MutableLongSet with only element1 in it.

mutableLongSetOf

fun mutableLongSetOf(vararg elements: Long): MutableLongSet

Returns a new MutableLongSet with the specified elements.

mutableLongSetOf

fun mutableLongSetOf(element1: Long, element2: Long): MutableLongSet

Returns a new MutableLongSet with only element1 and element2 in it.

mutableLongSetOf

fun mutableLongSetOf(element1: Long, element2: Long, element3: Long): MutableLongSet

Returns a new MutableLongSet with only element1, element2, and element3 in it.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(): MutableObjectFloatMap

Returns a new empty MutableObjectFloatMap.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(key1: K, value1: Float): MutableObjectFloatMap

Returns a new MutableObjectFloatMap with only key1 associated with value1.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(key1: K, value1: Float, key2: K, value2: Float): MutableObjectFloatMap

Returns a new MutableObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float
): MutableObjectFloatMap

Returns a new MutableObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float
): MutableObjectFloatMap

Returns a new MutableObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableObjectFloatMapOf

fun Any?> mutableObjectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float,
    key5: K,
    value5: Float
): MutableObjectFloatMap

Returns a new MutableObjectFloatMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(): MutableObjectIntMap

Returns a new empty MutableObjectIntMap.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(key1: K, value1: Int): MutableObjectIntMap

Returns a new MutableObjectIntMap with only key1 associated with value1.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(key1: K, value1: Int, key2: K, value2: Int): MutableObjectIntMap

Returns a new MutableObjectIntMap with only key1 and key2 associated with value1 and value2, respectively.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int
): MutableObjectIntMap

Returns a new MutableObjectIntMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int
): MutableObjectIntMap

Returns a new MutableObjectIntMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableObjectIntMapOf

fun Any?> mutableObjectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int,
    key5: K,
    value5: Int
): MutableObjectIntMap

Returns a new MutableObjectIntMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableObjectListOf

inline fun Any?> mutableObjectListOf(): MutableObjectList
Returns
MutableObjectList

a new empty MutableObjectList with the default capacity.

mutableObjectListOf

fun Any?> mutableObjectListOf(element1: E): MutableObjectList
Returns
MutableObjectList

a new MutableObjectList with element1 as the only element in the list.

mutableObjectListOf

inline fun Any?> mutableObjectListOf(vararg elements: E): MutableObjectList
Returns
MutableObjectList

a new MutableObjectList with the given elements, in order.

mutableObjectListOf

fun Any?> mutableObjectListOf(element1: E, element2: E): MutableObjectList
Returns
MutableObjectList

a new MutableObjectList with 2 elements, element1 and element2, in order.

mutableObjectListOf

fun Any?> mutableObjectListOf(element1: E, element2: E, element3: E): MutableObjectList
Returns
MutableObjectList

a new MutableObjectList with 3 elements, element1, element2, and element3, in order.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(): MutableObjectLongMap

Returns a new empty MutableObjectLongMap.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(key1: K, value1: Long): MutableObjectLongMap

Returns a new MutableObjectLongMap with only key1 associated with value1.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(key1: K, value1: Long, key2: K, value2: Long): MutableObjectLongMap

Returns a new MutableObjectLongMap with only key1 and key2 associated with value1 and value2, respectively.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long
): MutableObjectLongMap

Returns a new MutableObjectLongMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long
): MutableObjectLongMap

Returns a new MutableObjectLongMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

mutableObjectLongMapOf

fun Any?> mutableObjectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long,
    key5: K,
    value5: Long
): MutableObjectLongMap

Returns a new MutableObjectLongMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

mutableOrderedScatterSetOf

fun Any?> mutableOrderedScatterSetOf(): MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet.

mutableOrderedScatterSetOf

fun Any?> mutableOrderedScatterSetOf(element1: E): MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet with only element1 in it.

mutableOrderedScatterSetOf

fun Any?> mutableOrderedScatterSetOf(vararg elements: E): MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet with the specified contents.

mutableOrderedScatterSetOf

fun Any?> mutableOrderedScatterSetOf(element1: E, element2: E): MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet with only element1 and element2 in it.

mutableOrderedScatterSetOf

fun Any?> mutableOrderedScatterSetOf(element1: E, element2: E, element3: E): MutableOrderedScatterSet

Returns a new MutableOrderedScatterSet with only element1, element2, and element3 in it.

mutableScatterMapOf

fun Any?, V : Any?> mutableScatterMapOf(): MutableScatterMap

Returns a new MutableScatterMap.

mutableScatterMapOf

fun Any?, V : Any?> mutableScatterMapOf(vararg pairs: Pair): MutableScatterMap

Returns a new MutableScatterMap with the specified contents, given as a list of pairs where the first component is the key and the second is the value. If multiple pairs have the same key, the resulting map will contain the value from the last of those pairs.

mutableScatterSetOf

fun Any?> mutableScatterSetOf(): MutableScatterSet

Returns a new MutableScatterSet.

mutableScatterSetOf

fun Any?> mutableScatterSetOf(element1: E): MutableScatterSet

Returns a new MutableScatterSet with only element1 in it.

mutableScatterSetOf

fun Any?> mutableScatterSetOf(vararg elements: E): MutableScatterSet

Returns a new MutableScatterSet with the specified contents.

mutableScatterSetOf

fun Any?> mutableScatterSetOf(element1: E, element2: E): MutableScatterSet

Returns a new MutableScatterSet with only element1 and element2 in it.

mutableScatterSetOf

fun Any?> mutableScatterSetOf(element1: E, element2: E, element3: E): MutableScatterSet

Returns a new MutableScatterSet with only element1, element2, and element3 in it.

objectFloatMap

fun Any?> objectFloatMap(): ObjectFloatMap

Returns an empty, read-only ObjectFloatMap.

objectFloatMapOf

fun Any?> objectFloatMapOf(key1: K, value1: Float): ObjectFloatMap

Returns a new ObjectFloatMap with only key1 associated with value1.

objectFloatMapOf

fun Any?> objectFloatMapOf(key1: K, value1: Float, key2: K, value2: Float): ObjectFloatMap

Returns a new ObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.

objectFloatMapOf

fun Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float
): ObjectFloatMap

Returns a new ObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

objectFloatMapOf

fun Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float
): ObjectFloatMap

Returns a new ObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

objectFloatMapOf

fun Any?> objectFloatMapOf(
    key1: K,
    value1: Float,
    key2: K,
    value2: Float,
    key3: K,
    value3: Float,
    key4: K,
    value4: Float,
    key5: K,
    value5: Float
): ObjectFloatMap

Returns a new ObjectFloatMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

objectIntMap

fun Any?> objectIntMap(): ObjectIntMap

Returns an empty, read-only ObjectIntMap.

objectIntMapOf

fun Any?> objectIntMapOf(key1: K, value1: Int): ObjectIntMap

Returns a new ObjectIntMap with only key1 associated with value1.

objectIntMapOf

fun Any?> objectIntMapOf(key1: K, value1: Int, key2: K, value2: Int): ObjectIntMap

Returns a new ObjectIntMap with only key1 and key2 associated with value1 and value2, respectively.

objectIntMapOf

fun Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int
): ObjectIntMap

Returns a new ObjectIntMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

objectIntMapOf

fun Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int
): ObjectIntMap

Returns a new ObjectIntMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

objectIntMapOf

fun Any?> objectIntMapOf(
    key1: K,
    value1: Int,
    key2: K,
    value2: Int,
    key3: K,
    value3: Int,
    key4: K,
    value4: Int,
    key5: K,
    value5: Int
): ObjectIntMap

Returns a new ObjectIntMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

objectListOf

fun Any?> objectListOf(): ObjectList
Returns
ObjectList

a read-only ObjectList with nothing in it.

objectListOf

fun Any?> objectListOf(element1: E): ObjectList
Returns
ObjectList

a new read-only ObjectList with element1 as the only element in the list.

objectListOf

fun Any?> objectListOf(vararg elements: E): ObjectList
Returns
ObjectList

a new read-only ObjectList with elements in order.

objectListOf

fun Any?> objectListOf(element1: E, element2: E): ObjectList
Returns
ObjectList

a new read-only ObjectList with 2 elements, element1 and element2, in order.

objectListOf

fun Any?> objectListOf(element1: E, element2: E, element3: E): ObjectList
Returns
ObjectList

a new read-only ObjectList with 3 elements, element1, element2, and element3, in order.

objectLongMap

fun Any?> objectLongMap(): ObjectLongMap

Returns an empty, read-only ObjectLongMap.

objectLongMapOf

fun Any?> objectLongMapOf(key1: K, value1: Long): ObjectLongMap

Returns a new ObjectLongMap with only key1 associated with value1.

objectLongMapOf

fun Any?> objectLongMapOf(key1: K, value1: Long, key2: K, value2: Long): ObjectLongMap

Returns a new ObjectLongMap with only key1 and key2 associated with value1 and value2, respectively.

objectLongMapOf

fun Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long
): ObjectLongMap

Returns a new ObjectLongMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.

objectLongMapOf

fun Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long
): ObjectLongMap

Returns a new ObjectLongMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.

objectLongMapOf

fun Any?> objectLongMapOf(
    key1: K,
    value1: Long,
    key2: K,
    value2: Long,
    key3: K,
    value3: Long,
    key4: K,
    value4: Long,
    key5: K,
    value5: Long
): ObjectLongMap

Returns a new ObjectLongMap with only key1, key2, key3, key4, and key5 associated with value1, value2, value3, value4, and value5, respectively.

orderedScatterSetOf

fun Any?> orderedScatterSetOf(): OrderedScatterSet

Returns an empty, read-only OrderedScatterSet.

orderedScatterSetOf

fun Any?> orderedScatterSetOf(element1: E): OrderedScatterSet

Returns a new read-only OrderedScatterSet with only element1 in it.

orderedScatterSetOf

fun Any?> orderedScatterSetOf(vararg elements: E): OrderedScatterSet

Returns a new read-only OrderedScatterSet with only elements in it.

orderedScatterSetOf

fun Any?> orderedScatterSetOf(element1: E, element2: E): OrderedScatterSet

Returns a new read-only OrderedScatterSet with only element1 and element2 in it.

orderedScatterSetOf

fun Any?> orderedScatterSetOf(element1: E, element2: E, element3: E): OrderedScatterSet

Returns a new read-only OrderedScatterSet with only element1, element2, and element3 in it.

scatterSetOf

fun Any?> scatterSetOf(): ScatterSet

Returns an empty, read-only ScatterSet.

scatterSetOf

fun Any?> scatterSetOf(element1: E): ScatterSet

Returns a new read-only ScatterSet with only element1 in it.

scatterSetOf

fun Any?> scatterSetOf(vararg elements: E): ScatterSet

Returns a new read-only ScatterSet with only elements in it.

scatterSetOf

fun Any?> scatterSetOf(element1: E, element2: E): ScatterSet

Returns a new read-only ScatterSet with only element1 and element2 in it.

scatterSetOf

fun Any?> scatterSetOf(element1: E, element2: E, element3: E): ScatterSet

Returns a new read-only ScatterSet with only element1, element2, and element3 in it.

Extension functions

contains

inline operator fun Any?> SparseArrayCompat.contains(key: Int): Boolean

Returns true if the collection contains key.

contains

inline operator fun Any?> LongSparseArray.contains(key: Long): Boolean

Returns true if the collection contains key.

forEach

inline fun Any?> LongSparseArray.forEach(action: (key: Long, value) -> Unit): Unit

Performs the given action for each key/value entry.

forEach

inline fun Any?> SparseArrayCompat.forEach(action: (key: Int, value) -> Unit): Unit

Performs the given action for each key/value entry.

getOrDefault

inline fun Any?> SparseArrayCompat.getOrDefault(key: Int, defaultValue: T): T

Return the value corresponding to key, or defaultValue when not present.

getOrDefault

inline fun Any?> LongSparseArray.getOrDefault(key: Long, defaultValue: T): T

Return the value corresponding to key, or defaultValue when not present.

getOrElse

inline fun Any?> SparseArrayCompat.getOrElse(key: Int, defaultValue: () -> T): T

Return the value corresponding to key, or from defaultValue when not present.

getOrElse

inline fun Any?> LongSparseArray.getOrElse(key: Long, defaultValue: () -> T): T

Return the value corresponding to key, or from defaultValue when not present.

isNotEmpty

inline fun Any?> LongSparseArray.isNotEmpty(): Boolean

Return true when the collection contains elements.

isNotEmpty

inline fun Any?> SparseArrayCompat.isNotEmpty(): Boolean

Return true when the collection contains elements.

keyIterator

fun Any?> LongSparseArray.keyIterator(): LongIterator

Return an iterator over the collection's keys.

keyIterator

fun Any?> SparseArrayCompat.keyIterator(): IntIterator

Return an iterator over the collection's keys.

plus

operator fun Any?> LongSparseArray.plus(other: LongSparseArray): LongSparseArray

Creates a new collection by adding or replacing entries from other.

plus

operator fun Any?> SparseArrayCompat.plus(other: SparseArrayCompat): SparseArrayCompat

Creates a new collection by adding or replacing entries from other.

set

inline operator fun Any?> SparseArrayCompat.set(key: Int, value: T): Unit

Allows the use of the index operator for storing values in the collection.

set

inline operator fun Any?> LongSparseArray.set(key: Long, value: T): Unit

Allows the use of the index operator for storing values in the collection.

valueIterator

fun Any?> LongSparseArray.valueIterator(): Iterator

Return an iterator over the collection's values.

valueIterator

fun Any?> SparseArrayCompat.valueIterator(): Iterator

Return an iterator over the collection's values.

Extension properties

val LongSparseArray.sizeInt

Returns the number of key/value pairs in the collection.

val SparseArrayCompat.sizeInt

Returns the number of key/value pairs in the collection.