K
V
public class HashChainMap<K,V> extends java.util.HashMap<K,V> implements ChainMap<K,V>
带链式调用的HASHMAP
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
java.util.Map.Entry<K,V>
HashChainMap()
HashChainMap(int initialCapacity)
ChainMap<K,V>
putAllChain(java.util.Map<? extends K,? extends V> m)
putChain(K key, V value)
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public HashChainMap()
HashMap
public HashChainMap(int initialCapacity)
initialCapacity
public ChainMap<K,V> putChain(K key, V value)
带链式调用的put方法. Map.put(Object, Object)
Map.put(Object, Object)
putChain
key
value
public ChainMap<K,V> putAllChain(java.util.Map<? extends K,? extends V> m)
带链式调用的putAll方法. Map.putAll(Map)
Map.putAll(Map)
putAllChain
m