public class RequestCache<K,V> extends LinkedHashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RequestCache() |
RequestCache(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
Object |
get(Object key) |
Object |
put(Object key,
Object value) |
protected boolean |
removeEldestEntry(Map.Entry eldest) |
clear, containsValue, entrySet, forEach, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic RequestCache()
public RequestCache(int capacity)
protected boolean removeEldestEntry(Map.Entry eldest)
removeEldestEntry in class LinkedHashMappublic Object get(Object key)
get in interface Mapget in class LinkedHashMappublic boolean containsKey(Object key)
containsKey in interface MapcontainsKey in class HashMapCopyright © 2017 SAP SE. All Rights Reserved.