public class LruCache
extends java.util.LinkedHashMap
Modifier and Type | Field and Description |
---|---|
private int |
max_entries |
Constructor and Description |
---|
LruCache(int max) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry eldest) |
void |
setCacheSize(int size) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size