K - V - public class SyncLRUMap<K,V> extends LinkedHashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SyncLRUMap(int maxCapacity) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(Object k) |
V |
put(K k,
V v) |
V |
remove(Object key) |
protected boolean |
removeEldestEntry(Map.Entry<K,V> eldest) |
int |
size() |
clear, containsValueclone, containsKey, entrySet, isEmpty, keySet, putAll, valuesequals, hashCode, toStringCopyright © 2019. All rights reserved.