edu.umd.cs.findbugs.util
Class MapCache<K,V>
public
class
MapCache<K,V>
extends LinkedHashMap<K,V>
Provide a HashMap that can only grow to a specified maximum capacity,
with entries discarded using a LRU policy to keep the size of the HashMap
within that bound.
Author: pugh
public MapCache(int maxCapacity)
Create a new MapCache
Parameters: maxCapacity - maximum number of entries in the map
public String getStatistics()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.