|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface MultiValueMap<K,V>
Extension of the Map interface that stores multiple values.
| 嵌套类摘要 |
|---|
| 从接口 java.util.Map 继承的嵌套类/接口 |
|---|
Map.Entry<K,V> |
| 方法摘要 | |
|---|---|
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 |
set(K key,
V value)
Set the given single value under the given key. |
void |
setAll(Map<K,V> values)
Set the given values under. |
Map<K,V> |
toSingleValueMap()
Returns the first values contained in this MultiValueMap. |
| 从接口 java.util.Map 继承的方法 |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| 方法详细信息 |
|---|
V getFirst(K key)
key - the key
null
void add(K key,
V value)
key - the keyvalue - the value to be added
void set(K key,
V value)
key - the keyvalue - the value to setvoid setAll(Map<K,V> values)
values - the values.Map<K,V> toSingleValueMap()
MultiValueMap.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||