public class ListingLRUMap<K,V> extends org.apache.commons.collections4.map.LRUMap<K,V> implements Listable<V>
org.apache.commons.collections4.map.AbstractLinkedMap.EntrySetIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.KeySetIterator<K>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkMapIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator<V>org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K>, org.apache.commons.collections4.map.AbstractHashedMap.Values<V>| Constructor and Description |
|---|
ListingLRUMap(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decrementSize() |
V |
list(java.lang.String afterObjectId,
java.util.Collection<V> outputBuffer,
int limit) |
protected void |
moveToMRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K,V> entry) |
V |
put(K key,
V value) |
V |
remove(java.lang.Object key) |
int |
size() |
addMapping, clone, doReadObject, doWriteObject, get, get, isFull, isScanUntilRemovable, maxSize, removeLRU, reuseMapping, updateEntryaddEntry, clear, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, getEntry, init, lastKey, mapIterator, nextKey, previousKey, removeEntrycalculateNewCapacity, calculateThreshold, checkCapacity, containsKey, convertKey, destroyEntry, ensureCapacity, entryHashCode, entryKey, entryNext, entrySet, entryValue, equals, hash, hashCode, hashIndex, isEmpty, isEqualKey, isEqualValue, keySet, putAll, removeMapping, reuseEntry, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitpublic int size()
public V remove(java.lang.Object key)
protected void moveToMRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K,V> entry)
protected void decrementSize()