| Constructor and Description |
|---|
DerivedKeyHashMap() |
DerivedKeyHashMap(Collection<V> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
protected abstract K |
getKeyForValue(V value) |
protected int |
hash(Object key) |
boolean |
isEmpty() |
protected abstract boolean |
keyMatches(Object key,
V value) |
Set<K> |
keySet() |
protected abstract double |
loadFactor() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
putImpl(K key,
V value,
Object[] table,
boolean resizeIfNecessary) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic DerivedKeyHashMap()
public DerivedKeyHashMap(Collection<V> values)
protected int hash(Object key)
protected abstract double loadFactor()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>Copyright © 2022. All rights reserved.