Package 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
-
-
Constructor Summary
Constructors Constructor Description ProfilingMapCache(int maxCapacity, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(java.lang.Object k)
java.lang.String
getStatistics()
-
Methods inherited from class edu.umd.cs.findbugs.util.MapCache
removeEldestEntry
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, getOrDefault, keySet, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-