K
- the key type.V
- the value type.public final class CachedHashCodeArrayMap<K,V>
extends androidx.collection.ArrayMap<K,V>
ArrayMap
that caches its hashCode to support efficient lookup.Constructor and Description |
---|
CachedHashCodeArrayMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
hashCode() |
V |
put(K key,
V value) |
void |
putAll(androidx.collection.SimpleArrayMap<? extends K,? extends V> simpleArrayMap) |
V |
removeAt(int index) |
V |
setValueAt(int index,
V value) |
containsAll, entrySet, keySet, putAll, removeAll, retainAll, values
containsKey, containsValue, ensureCapacity, equals, get, indexOfKey, isEmpty, keyAt, remove, size, toString, valueAt