public class LRUCache<k extends Long,v extends Page> extends LinkedHashMap<k,v>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LRUCache(int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
removeEldestEntry(Map.Entry<k,v> eldest) |
clear, containsValue, getclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringprotected boolean removeEldestEntry(Map.Entry<k,v> eldest)
removeEldestEntry in class LinkedHashMap<k extends Long,v extends Page>Copyright © 2017. All rights reserved.