public class ListMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
Modifier and Type | Class and Description |
---|---|
private static class |
ListMap.SimpleEntry<K,V> |
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.util.Map.Entry<K,V>> |
entries |
Constructor and Description |
---|
ListMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> t) |
V |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<V> |
values() |