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