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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 © 2018 JBoss by Red Hat. All rights reserved.