public class LruMap<K,V> extends LinkedHashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
LruMap(int maxSize) |
LruMap(int initialCapacity,
float loadFactor,
boolean accessOrder,
int maxSize) |
LruMap(int tableSize,
int maxSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
get(K key,
@NonNull Callable<V> callable) |
protected boolean |
removeEldestEntry(Map.Entry<K,V> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeCopyright © 2011-2021–2021 ShaneKingOrg. All rights reserved.