public class MultiHashMap extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
MultiHashMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(Object key,
Object subKey)
Returns the value to which this map maps the specified key and subKey.
|
Set |
getSubKeys(Object key) |
Object |
put(Object key,
Object subKey,
Object value)
Associates the specified value with the specified key and subKey in this map.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic Object put(Object key, Object subKey, Object value)
key - Is a Primary key.subKey - with which the specified value is to be associated.value - to be associated with the specified key and subKeypublic Object get(Object key, Object subKey)
key - whose associated value is to be returned.subKey - whose associated value is to be returnedCopyright © 2018. All rights reserved.