public class SoftReferenceMap<K,V> extends ReferenceMap<K,V> implements Map<K,V>
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) class |
SoftReferenceMap.Ref |
| 限定符和类型 | 字段和说明 |
|---|---|
private ReferenceQueue<V> |
rq |
| 构造器和说明 |
|---|
SoftReferenceMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
private void |
enableCapacity() |
protected Reference<V> |
fold(K key,
V value) |
protected void |
onEviction(K key,
V value) |
V |
put(K key,
V value) |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesprivate final ReferenceQueue<V> rq
Copyright © 2020. All rights reserved.