abstract class ReferenceMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<K,java.lang.ref.Reference<V>> |
delegate |
Modifier | Constructor and Description |
---|---|
protected |
ReferenceMap(java.util.Map<K,java.lang.ref.Reference<V>> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
(package private) abstract java.lang.ref.Reference<V> |
fold(V value) |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
V |
remove(java.lang.Object key) |
int |
size() |
private V |
unfold(java.lang.ref.Reference<V> ref) |
java.util.Collection<V> |
values() |