public class WeakValueTreeMap<K,V> extends ReferenceValueTreeMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WeakValueTreeMap() |
WeakValueTreeMap(Comparator<K> kComparator) |
WeakValueTreeMap(SortedMap<K,ValueRef<K,V>> sorted) |
Modifier and Type | Method and Description |
---|---|
protected ValueRef<K,V> |
create(K key,
V value,
ReferenceQueue<V> q)
Create new value ref instance.
|
createMap, createMap, createMap, createMap, createMap
clear, containsKey, entrySet, get, put, remove, size, toString
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, values
public WeakValueTreeMap()
public WeakValueTreeMap(Comparator<K> kComparator)
protected ValueRef<K,V> create(K key, V value, ReferenceQueue<V> q)
ReferenceValueMap
create
in class ReferenceValueMap<K,V>
key
- the keyvalue
- the valueq
- the ref queueCopyright © 2013 JBoss by Red Hat. All rights reserved.