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.

ArrayMapKt
ArraySet

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

ArraySetKt
CircularArray

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

CircularIntArray

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

DoubleList

DoubleList is a List-like collection for Double values.

DoubleListKt
FloatFloatMap

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

FloatFloatMapKt
FloatFloatPair

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

FloatIntMap

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

FloatIntMapKt
FloatList

FloatList is a List-like collection for Float values.

FloatListKt
FloatLongMap

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

FloatLongMapKt
FloatObjectMap

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

FloatObjectMapKt
FloatSet

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

FloatSetKt
IntFloatMap

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

IntFloatMapKt
IntIntMap

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

IntIntMapKt
IntIntPair

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

IntList

IntList is a List-like collection for Int values.

IntListKt
IntLongMap

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

IntLongMapKt
IntObjectMap

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

IntObjectMapKt
IntSet

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

IntSetKt
LongFloatMap

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

LongFloatMapKt
LongIntMap

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

LongIntMapKt
LongList

LongList is a List-like collection for Long values.

LongListKt
LongLongMap

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

LongLongMapKt
LongLongPair

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

LongObjectMap

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

LongObjectMapKt
LongSet

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

LongSetKt
LongSparseArray

SparseArray mapping longs to Objects.

LongSparseArrayKt
LruCache

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

LruCacheKt
MutableDoubleList

MutableDoubleList is a MutableList-like collection for Double values.

MutableFloatFloatMap

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

MutableFloatIntMap

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

MutableFloatList

MutableFloatList is a MutableList-like collection for Float values.

MutableFloatLongMap

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

MutableFloatObjectMap

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

MutableFloatSet

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

MutableIntFloatMap

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

MutableIntIntMap

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

MutableIntList

MutableIntList is a MutableList-like collection for Int values.

MutableIntLongMap

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

MutableIntObjectMap

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

MutableIntSet

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

MutableLongFloatMap

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

MutableLongIntMap

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

MutableLongList

MutableLongList is a MutableList-like collection for Long values.

MutableLongLongMap

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

MutableLongObjectMap

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

MutableLongSet

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

MutableObjectFloatMap

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

MutableObjectIntMap

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

MutableObjectList

MutableObjectList is a MutableList-like collection for reference types.

MutableObjectLongMap

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

MutableOrderedScatterSet

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

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).

MutableScatterSet

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

ObjectFloatMap

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

ObjectFloatMapKt
ObjectIntMap

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

ObjectIntMapKt
ObjectList

ObjectList is a List-like collection for reference types.

ObjectListKt
ObjectLongMap

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

ObjectLongMapKt
OrderedScatterSet

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

OrderedScatterSetKt
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).

ScatterMapKt
ScatterSet

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

ScatterSetKt
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.

SimpleArrayMap

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

SparseArrayCompat

SparseArrays map integers to Objects.

SparseArrayKt