K
- the key typeV
- the value typepublic abstract class ReferenceValueHashMap<K,V> extends ReferenceValueMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
ReferenceValueHashMap() |
protected |
ReferenceValueHashMap(int initialCapacity) |
protected |
ReferenceValueHashMap(int initialCapacity,
float loadFactor) |
protected |
ReferenceValueHashMap(Map<K,V> t) |
Modifier and Type | Method and Description |
---|---|
protected Map<K,ValueRef<K,V>> |
createMap()
Create map.
|
protected Map<K,ValueRef<K,V>> |
createMap(Comparator<K> kComparator)
Create map.
|
protected Map<K,ValueRef<K,V>> |
createMap(int initialCapacity)
Create map.
|
protected Map<K,ValueRef<K,V>> |
createMap(int initialCapacity,
float loadFactor)
Create map.
|
protected Map<K,ValueRef<K,V>> |
createMap(SortedMap<K,ValueRef<K,V>> kValueRefSortedMap)
Create map.
|
clear, containsKey, create, entrySet, get, put, remove, size, toString
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected ReferenceValueHashMap()
protected ReferenceValueHashMap(int initialCapacity)
protected ReferenceValueHashMap(int initialCapacity, float loadFactor)
protected Map<K,ValueRef<K,V>> createMap(int initialCapacity, float loadFactor)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
initialCapacity
- the initial capacityloadFactor
- the load factorprotected Map<K,ValueRef<K,V>> createMap(int initialCapacity)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
initialCapacity
- the initial capacityprotected Map<K,ValueRef<K,V>> createMap()
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
protected Map<K,ValueRef<K,V>> createMap(Comparator<K> kComparator)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
kComparator
- the comparatorCopyright © 2018 JBoss by Red Hat. All rights reserved.