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
android
N
JS
MutableScatterSet

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

Cmn
android
N
JS
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
android
N
JS
ScatterSet

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

Cmn
android
N
JS
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<K, V>
<K : Any?, V : Any?> arrayMapOf()

Returns an empty new ArrayMap.

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

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<T>
<T : Any?> arraySetOf()

Returns an empty new ArraySet.

Cmn
ArraySet<T>
<T : 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<V>
<V : Any?> buildFloatObjectMap(builderAction: MutableFloatObjectMap<V>.() -> Unit)

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

Cmn
inline FloatObjectMap<V>
<V : Any?> buildFloatObjectMap(initialCapacity: Int, builderAction: MutableFloatObjectMap<V>.() -> 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<V>
<V : Any?> buildIntObjectMap(builderAction: MutableIntObjectMap<V>.() -> Unit)

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

Cmn
inline IntObjectMap<V>
<V : Any?> buildIntObjectMap(initialCapacity: Int, builderAction: MutableIntObjectMap<V>.() -> 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<V>
<V : Any?> buildLongObjectMap(builderAction: MutableLongObjectMap<V>.() -> Unit)

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

Cmn
inline LongObjectMap<V>
<V : Any?> buildLongObjectMap(initialCapacity: Int, builderAction: MutableLongObjectMap<V>.() -> 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<K>
<K : Any?> buildObjectFloatMap(builderAction: MutableObjectFloatMap<K>.() -> Unit)

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

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

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

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

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

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

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

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

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

Cmn
inline ObjectLongMap<K>
<K : Any?> buildObjectLongMap(initialCapacity: Int, builderAction: MutableObjectLongMap<K>.() -> 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<V>

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<V>

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<V>

Returns an empty, read-only LongObjectMap.

Cmn
LongSet

Returns an empty, read-only LongSet.

Cmn
ObjectFloatMap<K>

Returns an empty, read-only ObjectFloatMap.

Cmn
ObjectIntMap<K>

Returns an empty, read-only ObjectIntMap.

Cmn
ObjectList<E>
<E : Any?> emptyObjectList()
Cmn
ObjectLongMap<K>

Returns an empty, read-only ObjectLongMap.

Cmn
OrderedScatterSet<E>

Returns an empty, read-only OrderedScatterSet.

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

Returns an empty, read-only ScatterMap.

Cmn
ScatterSet<E>
<E : Any?> emptyScatterSet()

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<V>

Returns an empty, read-only FloatObjectMap.

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

Returns a new FloatObjectMap with key1 associated with value1.

Cmn
FloatObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : Any?> intObjectMapOf()

Returns an empty, read-only IntObjectMap.

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

Returns a new IntObjectMap with key1 associated with value1.

Cmn
IntObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : Any?> longObjectMapOf()

Returns an empty, read-only LongObjectMap.

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

Returns a new LongObjectMap with key1 associated with value1.

Cmn
LongObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<K, V>
<K : 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<V>

Returns a new MutableFloatObjectMap.

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

Returns a new MutableFloatObjectMap with key1 associated with value1.

Cmn
MutableFloatObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>

Returns a new MutableIntObjectMap.

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

Returns a new MutableIntObjectMap with key1 associated with value1.

Cmn
MutableIntObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>

Returns a new MutableLongObjectMap.

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

Returns a new MutableLongObjectMap with key1 associated with value1.

Cmn
MutableLongObjectMap<V>
<V : 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<V>
<V : 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<V>
<V : 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<V>
<V : 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<K>

Returns a new empty MutableObjectFloatMap.

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

Returns a new MutableObjectFloatMap with only key1 associated with value1.

Cmn
MutableObjectFloatMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>

Returns a new empty MutableObjectIntMap.

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

Returns a new MutableObjectIntMap with only key1 associated with value1.

Cmn
MutableObjectIntMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<E>
Cmn
MutableObjectList<E>
<E : Any?> mutableObjectListOf(element1: E)
Cmn
inline MutableObjectList<E>
<E : Any?> mutableObjectListOf(vararg elements: E)
Cmn
MutableObjectList<E>
<E : Any?> mutableObjectListOf(element1: E, element2: E)
Cmn
MutableObjectList<E>
<E : Any?> mutableObjectListOf(element1: E, element2: E, element3: E)
Cmn
MutableObjectLongMap<K>

Returns a new empty MutableObjectLongMap.

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

Returns a new MutableObjectLongMap with only key1 associated with value1.

Cmn
MutableObjectLongMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<E>

Returns a new MutableOrderedScatterSet.

Cmn
MutableOrderedScatterSet<E>
<E : Any?> mutableOrderedScatterSetOf(element1: E)

Returns a new MutableOrderedScatterSet with only element1 in it.

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

Returns a new MutableOrderedScatterSet with the specified contents.

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

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

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

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

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

Returns a new MutableScatterMap.

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

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<E>

Returns a new MutableScatterSet.

Cmn
MutableScatterSet<E>
<E : Any?> mutableScatterSetOf(element1: E)

Returns a new MutableScatterSet with only element1 in it.

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

Returns a new MutableScatterSet with the specified contents.

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

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

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

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

Cmn
ObjectFloatMap<K>
<K : Any?> objectFloatMap()

Returns an empty, read-only ObjectFloatMap.

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

Returns a new ObjectFloatMap with only key1 associated with value1.

Cmn
ObjectFloatMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : Any?> objectIntMap()

Returns an empty, read-only ObjectIntMap.

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

Returns a new ObjectIntMap with only key1 associated with value1.

Cmn
ObjectIntMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<E>
<E : Any?> objectListOf()
Cmn
ObjectList<E>
<E : Any?> objectListOf(element1: E)
Cmn
ObjectList<E>
<E : Any?> objectListOf(vararg elements: E)
Cmn
ObjectList<E>
<E : Any?> objectListOf(element1: E, element2: E)
Cmn
ObjectList<E>
<E : Any?> objectListOf(element1: E, element2: E, element3: E)
Cmn
ObjectLongMap<K>
<K : Any?> objectLongMap()

Returns an empty, read-only ObjectLongMap.

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

Returns a new ObjectLongMap with only key1 associated with value1.

Cmn
ObjectLongMap<K>
<K : 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<K>
<K : 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<K>
<K : 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<K>
<K : 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<E>

Returns an empty, read-only OrderedScatterSet.

Cmn
OrderedScatterSet<E>
<E : Any?> orderedScatterSetOf(element1: E)

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

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

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

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

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

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

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

Cmn
ScatterSet<E>
<E : Any?> scatterSetOf()

Returns an empty, read-only ScatterSet.

Cmn
ScatterSet<E>
<E : Any?> scatterSetOf(element1: E)

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

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

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

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

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

Cmn
ScatterSet<E>
<E : 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
<T : Any?> SparseArrayCompat<T>.contains(key: Int)

Returns true if the collection contains key.

Cmn
inline operator Boolean
<T : Any?> LongSparseArray<T>.contains(key: Long)

Returns true if the collection contains key.

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

Performs the given action for each key/value entry.

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

Performs the given action for each key/value entry.

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

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

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

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

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

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

Cmn
inline T
<T : Any?> LongSparseArray<T>.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<T>
<T : Any?> LongSparseArray<T>.plus(other: LongSparseArray<T>)

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

Cmn
operator SparseArrayCompat<T>

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

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

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

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

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

Cmn
MutableScatterMap<K, V>
<K : Any?, V : Any?> Map<K, V>.toMutableScatterMap()

Returns a new MutableScatterMap with the specified mappings.

Cmn
MutableScatterMap<K, V>
<K : Any?, V : Any?> ScatterMap<K, V>.toMutableScatterMap()

Returns a new MutableScatterMap with the specified mappings.

Cmn
MutableScatterSet<E>

Returns a new MutableScatterSet with the specified contents.

Cmn
MutableScatterSet<E>

Returns a new MutableScatterSet with the specified contents.

Cmn
ScatterMap<K, V>
<K : Any?, V : Any?> Map<K, V>.toScatterMap()

Returns a new read-only ScatterMap with the specified mappings.

Cmn
ScatterMap<K, V>
<K : Any?, V : Any?> ScatterMap<K, V>.toScatterMap()

Returns a new read-only ScatterMap with the specified mappings.

Cmn
ScatterSet<E>

Returns a new read-only ScatterSet with the specified contents.

Cmn
ScatterSet<E>

Returns a new read-only ScatterSet with the specified contents.

Cmn
Iterator<T>

Return an iterator over the collection's values.

Cmn
Iterator<T>

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 <K : Any?, V : Any?> arrayMapOf(): ArrayMap<K, V>

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 <K : Any?, V : Any?> arrayMapOf(vararg pairs: Pair<K, V>): ArrayMap<K, V>

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 <T : Any?> arraySetOf(): ArraySet<T>

Returns an empty new ArraySet.

arraySetOf

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

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 <V : Any?> buildFloatObjectMap(builderAction: MutableFloatObjectMap<V>.() -> Unit): FloatObjectMap<V>

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<V>.() -> Unit

Lambda in which the MutableFloatObjectMap can be populated.

buildFloatObjectMap

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

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<V>.() -> 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 <V : Any?> buildIntObjectMap(builderAction: MutableIntObjectMap<V>.() -> Unit): IntObjectMap<V>

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<V>.() -> Unit

Lambda in which the MutableIntObjectMap can be populated.

buildIntObjectMap

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

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<V>.() -> 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 <V : Any?> buildLongObjectMap(builderAction: MutableLongObjectMap<V>.() -> Unit): LongObjectMap<V>

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<V>.() -> Unit

Lambda in which the MutableLongObjectMap can be populated.

buildLongObjectMap

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

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<V>.() -> 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 <K : Any?> buildObjectFloatMap(builderAction: MutableObjectFloatMap<K>.() -> Unit): ObjectFloatMap<K>

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<K>.() -> Unit

Lambda in which the MutableObjectFloatMap can be populated.

buildObjectFloatMap

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

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<K>.() -> Unit

Lambda in which the MutableObjectFloatMap can be populated.

buildObjectIntMap

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

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<K>.() -> Unit

Lambda in which the MutableObjectIntMap can be populated.

buildObjectIntMap

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

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<K>.() -> Unit

Lambda in which the MutableObjectIntMap can be populated.

buildObjectLongMap

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

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<K>.() -> Unit

Lambda in which the MutableObjectLongMap can be populated.

buildObjectLongMap

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

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<K>.() -> 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 <V : Any?> emptyFloatObjectMap(): FloatObjectMap<V>

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 <V : Any?> emptyIntObjectMap(): IntObjectMap<V>

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 <V : Any?> emptyLongObjectMap(): LongObjectMap<V>

Returns an empty, read-only LongObjectMap.

emptyLongSet

fun emptyLongSet(): LongSet

Returns an empty, read-only LongSet.

emptyObjectFloatMap

fun <K : Any?> emptyObjectFloatMap(): ObjectFloatMap<K>

Returns an empty, read-only ObjectFloatMap.

emptyObjectIntMap

fun <K : Any?> emptyObjectIntMap(): ObjectIntMap<K>

Returns an empty, read-only ObjectIntMap.

emptyObjectList

fun <E : Any?> emptyObjectList(): ObjectList<E>
Returns
ObjectList<E>

a read-only ObjectList with nothing in it.

emptyObjectLongMap

fun <K : Any?> emptyObjectLongMap(): ObjectLongMap<K>

Returns an empty, read-only ObjectLongMap.

emptyOrderedScatterSet

fun <E : Any?> emptyOrderedScatterSet(): OrderedScatterSet<E>

Returns an empty, read-only OrderedScatterSet.

emptyScatterMap

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

Returns an empty, read-only ScatterMap.

emptyScatterSet

fun <E : Any?> emptyScatterSet(): ScatterSet<E>

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 <V : Any?> floatObjectMapOf(): FloatObjectMap<V>

Returns an empty, read-only FloatObjectMap.

floatObjectMapOf

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

Returns a new FloatObjectMap with key1 associated with value1.

floatObjectMapOf

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

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

floatObjectMapOf

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

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

floatObjectMapOf

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

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

floatObjectMapOf

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

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 <V : Any?> intObjectMapOf(): IntObjectMap<V>

Returns an empty, read-only IntObjectMap.

intObjectMapOf

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

Returns a new IntObjectMap with key1 associated with value1.

intObjectMapOf

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

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

intObjectMapOf

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

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

intObjectMapOf

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

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

intObjectMapOf

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

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