-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,java.util.Map
public class LRUCache<K, V> extends LinkedHashMap<K, V>
-
-
Constructor Summary
Constructors Constructor Description LRUCache(int cacheSize)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values -
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size -
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString -
Methods inherited from class java.util.Map
copyOf, entry, of, ofEntries -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-