SmallLRUCache

This class implements a small LRU object cache.

Methods
static SmallLRUCache newInstance(int size)
Create a new object with all elements of the given collection.
static SmallLRUCache newInstance(int size)
Create a new object with all elements of the given collection.
Parameters:
size - the number of elements
Returns:
the object
boolean removeEldestEntry(Map.Entry eldest)
boolean removeEldestEntry(Map.Entry eldest)
void setMaxSize(int size)
void setMaxSize(int size)