Modifier and Type | Field and Description |
---|---|
private int |
maxsize |
Constructor and Description |
---|
CacheMap(int maxsize) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getMaxSize() |
protected boolean |
removeEldestEntry(java.util.Map.Entry eldest) |
(package private) void |
setMaxSize(int maxsize) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
int getMaxSize()
void setMaxSize(int maxsize)
protected boolean removeEldestEntry(java.util.Map.Entry eldest)
removeEldestEntry
in class java.util.LinkedHashMap<Name,java.lang.Object>