public abstract class AbstractMultivaluedMap<K,V> extends Object implements MultivaluedMap<K,V>
| Constructor and Description |
|---|
AbstractMultivaluedMap(Map<K,List<V>> store) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K key,
V value) |
void |
addAll(K key,
List<V> valueList) |
void |
addAll(K key,
V... newValues) |
void |
addFirst(K key,
V value) |
protected void |
addFirstNull(List<V> values) |
protected void |
addNull(List<V> values) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,List<V>>> |
entrySet() |
boolean |
equals(Object o) |
boolean |
equalsIgnoreValueOrder(MultivaluedMap<K,V> omap) |
List<V> |
get(Object key) |
V |
getFirst(K key) |
protected List<V> |
getValues(K key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
List<V> |
put(K key,
List<V> value) |
void |
putAll(Map<? extends K,? extends List<V>> m) |
void |
putSingle(K key,
V value) |
List<V> |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<List<V>> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic final void putSingle(K key, V value)
putSingle in interface MultivaluedMap<K,V>public final void addAll(K key, V... newValues)
addAll in interface MultivaluedMap<K,V>public final void addAll(K key, List<V> valueList)
addAll in interface MultivaluedMap<K,V>public final void addFirst(K key, V value)
addFirst in interface MultivaluedMap<K,V>public int hashCode()
public boolean equals(Object o)
public boolean containsValue(Object value)
containsValue in interface Map<K,List<V>>public boolean containsKey(Object key)
containsKey in interface Map<K,List<V>>public boolean equalsIgnoreValueOrder(MultivaluedMap<K,V> omap)
equalsIgnoreValueOrder in interface MultivaluedMap<K,V>Copyright © 2018 The Apache Software Foundation. All rights reserved.