public class LRUCache<K,V> extends java.util.LinkedHashMap<K,V> implements Cache<K,V>
| Modifier and Type | Field and Description | 
|---|---|
| protected int | maxEntriesMaximum number of entries in cache. | 
| Constructor and Description | 
|---|
| LRUCache(int maxEntries)Create a new cache. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | removeEldestEntry(java.util.Map.Entry<K,V> lruEntry)See if we should delete the least recently used entry. | 
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, wait