public class LRUMap<K,V>
extends java.util.LinkedHashMap<K,V>
Modifier and Type | Field | Description |
---|---|---|
protected int |
_maxEntries |
Constructor | Description |
---|---|
LRUMap(int initialEntries,
int maxEntries) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> eldest) |
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values