Home | History | Annotate | Download | only in util

Lines Matching defs:ArrayMap

27  * ArrayMap is a generic key->value mapping data structure that is
48 public final class ArrayMap<K, V> implements Map<K, V> {
50 private static final String TAG = "ArrayMap";
56 * ArrayIndexOutOfBoundsException deep in the ArrayMap internals it's going to
65 * The minimum amount by which the capacity of a ArrayMap will increase.
81 * @hide Special immutable empty ArrayMap.
83 public static final ArrayMap EMPTY = new ArrayMap<>(-1);
192 throw new UnsupportedOperationException("ArrayMap is immutable");
195 synchronized (ArrayMap.class) {
209 synchronized (ArrayMap.class) {
230 synchronized (ArrayMap.class) {
244 synchronized (ArrayMap.class) {
261 * Create a new empty ArrayMap. The default capacity of an array map is 0, and
264 public ArrayMap() {
269 * Create a new ArrayMap with a given initial capacity.
271 public ArrayMap(int capacity) {
276 public ArrayMap(int capacity, boolean identityHashCode) {
295 * Create a new ArrayMap with the mappings from the given ArrayMap.
297 public ArrayMap(ArrayMap<K, V> map) {
325 * Like {@link #clear}, but doesn't reduce the capacity of the ArrayMap.
590 throw new IllegalArgumentException("Duplicate key in ArrayMap: " + cur);
593 throw new IllegalArgumentException("Duplicate key in ArrayMap: " + cur);
603 public void putAll(ArrayMap<? extends K, ? extends V> array) {
834 return ArrayMap.this;