Home | History | Annotate | Download | only in util

Lines Matching defs:ArrayMap

26  * ArrayMap is a generic key->value mapping data structure that is
47 public final class ArrayMap<K, V> implements Map<K, V> {
49 private static final String TAG = "ArrayMap";
52 * The minimum amount by which the capacity of a ArrayMap will increase.
68 * @hide Special immutable empty ArrayMap.
70 public static final ArrayMap EMPTY = new ArrayMap<>(-1);
167 throw new UnsupportedOperationException("ArrayMap is immutable");
170 synchronized (ArrayMap.class) {
184 synchronized (ArrayMap.class) {
205 synchronized (ArrayMap.class) {
219 synchronized (ArrayMap.class) {
236 * Create a new empty ArrayMap. The default capacity of an array map is 0, and
239 public ArrayMap() {
244 * Create a new ArrayMap with a given initial capacity.
246 public ArrayMap(int capacity) {
251 public ArrayMap(int capacity, boolean identityHashCode) {
270 * Create a new ArrayMap with the mappings from the given ArrayMap.
272 public ArrayMap(ArrayMap<K, V> map) {
294 * Like {@link #clear}, but doesn't reduce the capacity of the ArrayMap.
545 throw new IllegalArgumentException("Duplicate key in ArrayMap: " + cur);
548 throw new IllegalArgumentException("Duplicate key in ArrayMap: " + cur);
558 public void putAll(ArrayMap<? extends K, ? extends V> array) {
778 return ArrayMap.this;