Home | History | Annotate | Download | only in util

Lines Matching defs:ArrayMap

24  * ArrayMap is a generic key->value mapping data structure that is
45 public final class ArrayMap<K, V> implements Map<K, V> {
47 private static final String TAG = "ArrayMap";
50 * The minimum amount by which the capacity of a ArrayMap will increase.
61 * @hide Special immutable empty ArrayMap.
63 public static final ArrayMap EMPTY = new ArrayMap(true);
164 throw new UnsupportedOperationException("ArrayMap is immutable");
167 synchronized (ArrayMap.class) {
181 synchronized (ArrayMap.class) {
202 synchronized (ArrayMap.class) {
216 synchronized (ArrayMap.class) {
233 * Create a new empty ArrayMap. The default capacity of an array map is 0, and
236 public ArrayMap() {
243 * Create a new ArrayMap with a given initial capacity.
245 public ArrayMap(int capacity) {
255 private ArrayMap(boolean immutable) {
262 * Create a new ArrayMap with the mappings from the given ArrayMap.
264 public ArrayMap(ArrayMap map) {
286 * Like {@link #clear}, but doesn't reduce the capacity of the ArrayMap.
500 public void putAll(ArrayMap<? extends K, ? extends V> array) {
720 return ArrayMap.this;