public class DeterministicHashMap<K,V> extends HashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeterministicHashMap(int initialCapacity)
Constructs a DeterministicHashMap with the given initial capacity.
|
DeterministicHashMap(int initialCapacity,
float loadFactor)
Constructs a DeterministicHashMap with the given initial capacity and load factor.
|
Modifier and Type | Method and Description |
---|---|
Set<K> |
keySet()
Returns a backed list of keys for this HashMap (unsupported).
|
V |
put(K key,
V value)
Inserts a mapping in this HashMap from
key to value . |
V |
remove(Object obj)
Removes the given object from this HashMap (unsupported).
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public DeterministicHashMap(int initialCapacity)
public DeterministicHashMap(int initialCapacity, float loadFactor)
Copyright © 2019 Sable. All rights reserved.