K - Type of the keysV - Types of the valuespublic class LRUCache<K,V>
extends java.util.LinkedHashMap<K,V>
LinkedHashMap
See here.| Constructor and Description |
|---|
LRUCache(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry entry) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeCopyright © 2023. All rights reserved.