public class SizeLimitedMap<K,V>
extends java.util.LinkedHashMap<K,V>
implements java.util.Map<K,V>, java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
(package private) int |
sizeLimit |
Constructor and Description |
---|
SizeLimitedMap(int sizeLimit) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> eldest) |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
private static final long serialVersionUID
final int sizeLimit