public class SerializableArrayMap<K,V> extends Object implements Serializable
This map accepts null values.
The map is implemented using an array of successive [key, value] pairs.
Constructor and Description |
---|
SerializableArrayMap() |
SerializableArrayMap(int initialCapacity) |
SerializableArrayMap(Map map) |
SerializableArrayMap(SerializableArrayMap 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) |
Serializable[] |
getArray() |
K |
getKey(int i) |
K |
getKey(Serializable 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() |
public SerializableArrayMap()
public SerializableArrayMap(int initialCapacity)
public SerializableArrayMap(Map map)
public SerializableArrayMap(SerializableArrayMap map)
public V remove(int index)
public V get(int i)
public K getKey(Serializable value)
public K getKey(int i)
public void trimToSize()
public int size()
public boolean isEmpty()
public void clear()
public Serializable[] getArray()
Copyright © 2013 Nuxeo SA. All Rights Reserved.