java.util.Map<K,java.util.List<V>>LinkedCaseInsensitiveMultiValueMap, LinkedMultiValueMappublic interface MultiValueMap<K,V>
extends java.util.Map<K,java.util.List<V>>
Map interface that stores multiple values.| Modifier and Type | Method | Description |
|---|---|---|
void |
add(K key,
V value) |
Add the given single value to the current list of values for the given key.
|
V |
getFirst(K key) |
Return the first value for the given key.
|
void |
put(K key,
V[] values) |
Set the given values under the given key.
|
void |
set(K key,
V value) |
Set the given single value under the given key.
|
void |
setAll(java.util.Map<K,V> values) |
Set the given values under.
|
java.util.Map<K,V> |
toSingleValueMap() |
Returns the first values contained in this
MultiValueMap. |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesV getFirst(K key)
key - the keynullvoid add(K key, V value)
key - the keyvalue - the value to be addedvoid set(K key, V value)
key - the keyvalue - the value to setvoid setAll(java.util.Map<K,V> values)
values - the valuesvoid put(K key, V[] values)
key - the keyvalues - the valuesCopyright © 2008–2017 The Aspectran Project. All rights reserved.