Package com.fasterxml.jackson.jaxrs.util
Class LRUMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<K,V>
-
- com.fasterxml.jackson.jaxrs.util.LRUMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<K,V>
@Deprecated public class LRUMap<K,V> extends java.util.LinkedHashMap<K,V>Deprecated.Since 2.16.1 Use one fromjackson-databindinstead.Helper for simple bounded LRU maps used for reusing lookup values.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int_maxEntriesDeprecated.
-
Constructor Summary
Constructors Constructor Description LRUMap(int initialEntries, int maxEntries)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleanremoveEldestEntry(java.util.Map.Entry<K,V> eldest)Deprecated.-
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
-
-