public class LRUMap<K,V>
extends java.util.LinkedHashMap<K,V>
LinkedHashMap
.Constructor and Description |
---|
LRUMap(int size) |
Modifier and Type | Method and Description |
---|---|
protected void |
onEldestEntryRemove(java.util.Map.Entry<K,V> eldest)
Invoked when eldest entry is about to be removed.
|
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> 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
Copyright © Copyright 2006-2019 The Scriptella Project Team.