java.io.Serializable
, java.lang.Cloneable
, java.util.Map<L,K>
, java.util.NavigableMap<L,K>
, java.util.SortedMap<L,K>
public class LimitedTreeMap<L,K>
extends java.util.TreeMap<L,K>
Constructor | Description |
---|---|
LimitedTreeMap() |
|
LimitedTreeMap(long expireMs,
int max,
boolean caseInsensitive) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
check() |
|
void |
clear() |
|
boolean |
containsKey(java.lang.Object key) |
|
K |
get(java.lang.Object key) |
|
protected K |
internalRemove(java.lang.Object key) |
|
K |
put(L key,
K value) |
|
void |
putAll(java.util.Map<? extends L,? extends K> map) |
|
K |
remove(java.lang.Object key) |
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
finalize, getClass, notify, notifyAll, wait, wait, wait
ceilingEntry, ceilingKey, clone, comparator, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
public LimitedTreeMap(long expireMs, int max, boolean caseInsensitive)
public LimitedTreeMap()
protected void check()
public boolean containsKey(java.lang.Object key)
public K get(java.lang.Object key)
public void clear()
protected K internalRemove(java.lang.Object key)