java.lang.Object
org.xbib.net.path.spring.util.MultiValueMapAdapter<K,V>
- Typparameter:
K- the key typeV- the value element type
- Alle implementierten Schnittstellen:
Map<K,,List<V>> MultiValueMap<K,V>
- Bekannte direkte Unterklassen:
LinkedMultiValueMap
Adapts a given
Map to the MultiValueMap contract.- Siehe auch:
-
Verschachtelte Klassen - Übersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMultiValueMapAdapter(Map<K, List<V>> targetMap) Wrap the given targetMapas aMultiValueMapadapter. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd the given single value to the current list of values for the given key.voidAdd all the values of the given list to the current list of values for the given key.voidaddAll(MultiValueMap<K, V> values) Add all the values of the givenMultiValueMapto the current values.voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleaninthashCode()booleanisEmpty()keySet()voidintsize()toString()Collection<List<V>> values()Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Konstruktordetails
-
MultiValueMapAdapter
Wrap the given targetMapas aMultiValueMapadapter.- Parameter:
targetMap- the plain targetMap
-
-
Methodendetails
-
add
Beschreibung aus Schnittstelle kopiert:MultiValueMapAdd the given single value to the current list of values for the given key.- Angegeben von:
addin SchnittstelleMultiValueMap<K,V> - Parameter:
key- the keyvalue- the value to be added
-
addAll
Beschreibung aus Schnittstelle kopiert:MultiValueMapAdd all the values of the given list to the current list of values for the given key.- Angegeben von:
addAllin SchnittstelleMultiValueMap<K,V> - Parameter:
key- they keyvalues- the values to be added
-
addAll
Beschreibung aus Schnittstelle kopiert:MultiValueMapAdd all the values of the givenMultiValueMapto the current values.- Angegeben von:
addAllin SchnittstelleMultiValueMap<K,V> - Parameter:
values- the values to be added
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Angegeben von:
containsKeyin SchnittstelleMap<K,V>
-
containsValue
- Angegeben von:
containsValuein SchnittstelleMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
toString
-