edu.umd.cs.findbugs.util
Class ProfilingMapCache<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
edu.umd.cs.findbugs.util.MapCache<K,V>
edu.umd.cs.findbugs.util.ProfilingMapCache<K,V>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>
public class ProfilingMapCache<K,V>
- extends MapCache<K,V>
- Author:
- pugh
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Methods inherited from class java.util.LinkedHashMap |
clear, containsValue |
| Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
ProfilingMapCache
public ProfilingMapCache(int maxCapacity,
java.lang.String name)
get
public V get(java.lang.Object k)
- Specified by:
get in interface java.util.Map<K,V>- Overrides:
get in class java.util.LinkedHashMap<K,V>
getStatistics
public java.lang.String getStatistics()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.