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, get
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
protected boolean removeEldestEntry(Map.Entry<A,B> eldest)
removeEldestEntry
in class LinkedHashMap<A,B>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.