public class LinkedMultiValueMap<K,V> extends Object implements MultiValueMap<K,V>, Serializable
Constructor and Description |
---|
LinkedMultiValueMap() |
LinkedMultiValueMap(int initialCapacity) |
LinkedMultiValueMap(Map<K,List<V>> otherMap) |
Modifier and Type | Method and Description |
---|---|
void |
add(K key,
V value) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,List<V>>> |
entrySet() |
boolean |
equals(Object obj) |
List<V> |
get(Object key) |
V |
getFirst(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) |
List<V> |
remove(Object key) |
void |
set(K key,
V value) |
void |
setAll(Map<K,V> values) |
int |
size() |
Map<K,V> |
toSingleValueMap() |
String |
toString() |
Collection<List<V>> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public LinkedMultiValueMap()
public LinkedMultiValueMap(int initialCapacity)
public Map<K,V> toSingleValueMap()
toSingleValueMap
in interface MultiValueMap<K,V>
public boolean containsKey(Object key)
containsKey
in interface Map<K,List<V>>
public boolean containsValue(Object value)
containsValue
in interface Map<K,List<V>>
public boolean equals(Object obj)
public int hashCode()
Copyright © 2017. All rights reserved.