java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>public class LRUCacheHashMap<K,V>
extends java.util.LinkedHashMap<K,V>
| Constructor | Description |
|---|---|
LRUCacheHashMap(int maxSize,
boolean accessOrder) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeCopyright © 2008–2025 Apache Software Foundation. All rights reserved.