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