Keel 2.1RC2

org.apache.commons.collections
Class TestLRUMap.LRUCounter

java.lang.Object
  extended byorg.apache.commons.collections.SequencedHashMap
      extended byorg.apache.commons.collections.LRUMap
          extended byorg.apache.commons.collections.TestLRUMap.LRUCounter
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.util.Map, java.io.Serializable
Enclosing class:
TestLRUMap

private class TestLRUMap.LRUCounter
extends LRUMap


Nested Class Summary
 
Nested classes inherited from class org.apache.commons.collections.SequencedHashMap
 
Field Summary
(package private)  java.util.ArrayList list
           
(package private)  int removedCount
           
 
Fields inherited from class org.apache.commons.collections.LRUMap
 
Fields inherited from class org.apache.commons.collections.SequencedHashMap
 
Constructor Summary
(package private) TestLRUMap.LRUCounter(int i)
           
 
Method Summary
protected  void processRemovedLRU(java.lang.Object key, java.lang.Object value)
          Subclasses of LRUMap may hook into this method to provide specialized actions whenever an Object is automatically removed from the cache.
 
Methods inherited from class org.apache.commons.collections.LRUMap
get, getMaximumSize, put, readExternal, removeLRU, setMaximumSize, writeExternal
 
Methods inherited from class org.apache.commons.collections.SequencedHashMap
clear, clone, containsKey, containsValue, entrySet, equals, get, getFirst, getFirstKey, getFirstValue, getLast, getLastKey, getLastValue, getValue, hashCode, indexOf, isEmpty, iterator, keySet, lastIndexOf, putAll, remove, remove, sequence, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

removedCount

int removedCount

list

java.util.ArrayList list
Constructor Detail

TestLRUMap.LRUCounter

TestLRUMap.LRUCounter(int i)
Method Detail

processRemovedLRU

protected void processRemovedLRU(java.lang.Object key,
                                 java.lang.Object value)
Description copied from class: LRUMap
Subclasses of LRUMap may hook into this method to provide specialized actions whenever an Object is automatically removed from the cache. By default, this method does nothing.

Overrides:
processRemovedLRU in class LRUMap
Parameters:
key - key that was removed
value - value of that key (can be null)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.