{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

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.

LongSparseArray

SparseArray mapping longs to Objects.

LongSparseArrayKt
LruCache

Static library version of android.util.LruCache.

LruCacheKt
SimpleArrayMap

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

SparseArrayCompat

SparseArrays map integers to Objects.

SparseArrayKt