public class BoundedHashMap<K,V> extends java.util.LinkedHashMap<K,V>
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
protected int
max_size
BoundedHashMap(int max_size)
boolean
add(K key, V val)
protected boolean
removeEldestEntry(java.util.Map.Entry<K,V> eldest)
clear, containsValue, get
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
protected final int max_size
public BoundedHashMap(int max_size)
protected boolean removeEldestEntry(java.util.Map.Entry<K,V> eldest)
removeEldestEntry
java.util.LinkedHashMap<K,V>
public boolean add(K key, V val)