public class MemoryCache.LRUCacheMap<K,V> extends LinkedHashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MemoryCache.LRUCacheMap(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
V |
put(K k,
V v) |
protected boolean |
removeEldestEntry(Map.Entry<K,V> eldest) |
void |
updateCacheSize(int size) |
clear, containsValue, getclone, containsKey, entrySet, isEmpty, keySet, putAll, remove, size, valuesequals, hashCode, toStringprotected boolean removeEldestEntry(Map.Entry<K,V> eldest)
removeEldestEntry in class LinkedHashMap<K,V>public void updateCacheSize(int size)
Copyright © 2014 Cohesive Integrations, LLC. All rights reserved.