K
- the key typeV
- the value typepublic abstract class ReferenceValueTreeMap<K,V> extends ReferenceValueMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
ReferenceValueTreeMap() |
protected |
ReferenceValueTreeMap(Comparator<K> comparator) |
protected |
ReferenceValueTreeMap(SortedMap<K,ValueRef<K,V>> sorted) |
Modifier and Type | Method and Description |
---|---|
protected Map<K,ValueRef<K,V>> |
createMap()
Create map.
|
protected Map<K,ValueRef<K,V>> |
createMap(Comparator<K> comparator)
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>> map)
Create map.
|
clear, containsKey, create, entrySet, get, put, remove, size, toString
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, values
protected ReferenceValueTreeMap()
protected ReferenceValueTreeMap(Comparator<K> comparator)
protected Map<K,ValueRef<K,V>> createMap()
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
protected Map<K,ValueRef<K,V>> createMap(Comparator<K> comparator)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
comparator
- the comparatorprotected Map<K,ValueRef<K,V>> createMap(SortedMap<K,ValueRef<K,V>> map)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
map
- the sorted mapprotected 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(int initialCapacity, float loadFactor)
ReferenceValueMap
createMap
in class ReferenceValueMap<K,V>
initialCapacity
- the initial capacityloadFactor
- the load factorCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.