FindBugs™ 1.3.9

edu.umd.cs.findbugs.util
Class ProfilingMapCache<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<K,V>
              extended by edu.umd.cs.findbugs.util.MapCache<K,V>
                  extended by 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 Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ProfilingMapCache(int maxCapacity, java.lang.String name)
           
 
Method Summary
 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
 
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
 

Constructor Detail

ProfilingMapCache

public ProfilingMapCache(int maxCapacity,
                         java.lang.String name)
Method Detail

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™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.