public class ArrayMap<K,V> extends Object
This map accepts null values.
The map is implemented using an array of successive [key, value] pairs.
Constructor and Description |
---|
ArrayMap() |
ArrayMap(ArrayMap<K,V> map) |
ArrayMap(int initialCapacity) |
ArrayMap(Map<K,V> map) |
Modifier and Type | Method and Description |
---|---|
void |
add(K key,
V value) |
void |
clear() |
boolean |
equals(Object obj) |
V |
get(int i) |
V |
get(K key) |
Object[] |
getArray() |
K |
getKey(int i) |
K |
getKey(Object value) |
int |
hashCode() |
boolean |
isEmpty() |
V |
put(K key,
V value) |
void |
putAll(Map<K,V> map) |
V |
remove(int index) |
V |
remove(K key) |
int |
size() |
void |
trimToSize() |
Copyright © 2014 Nuxeo SA. All rights reserved.