public class SoftValueTreeMap<K,V> extends ReferenceValueTreeMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SoftValueTreeMap() |
SoftValueTreeMap(Comparator<K> comparator) |
SoftValueTreeMap(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 SoftValueTreeMap()
public SoftValueTreeMap(Comparator<K> comparator)
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.