K - key typeV - value type which has a reference to its keypublic abstract class EntryHashMap<K,V extends EntryHashMap.Entry<K>> extends KeyInValueMap<K,V>
| Modifier and Type | Class and Description |
|---|---|
static class |
EntryHashMap.Entry<K>
An entry in an EntryHashMap.
|
| Constructor and Description |
|---|
EntryHashMap(int initialCapacity,
float loadFactor)
Create a new map.
|
| Modifier and Type | Method and Description |
|---|---|
protected K |
getKey(V value)
Get the key for a value.
|
computeValue, get, hashKey, iterator, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic EntryHashMap(int initialCapacity,
float loadFactor)
initialCapacity - initial storage capacityloadFactor - load factor at which to increase the internal storage capacityprotected K getKey(V value)
KeyInValueMapgetKey in class KeyInValueMap<K,V extends EntryHashMap.Entry<K>>value - value to get key forCopyright © 2019. All rights reserved.