Example usage for Java org.apache.commons.collections LRUMap fields, constructors, methods, implement or subclass
The text is from its open source code.
LRUMap(int i) Create a new LRUMap with a maximum capacity of i. |
Object | get(Object key) Get the value for a key from the Map. |
Object | put(Object key, Object value) Removes the key and its Object from the Map. (Note: this may result in the "Least Recently Used" object being removed from the Map. |
void | setMaximumSize(int maximumSize) Setter for property maximumSize. |