org.eclipse.jdt.internal.core
Class VerboseElementCache

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.LRUCache
      extended by org.eclipse.jdt.internal.core.OverflowingLRUCache
          extended by org.eclipse.jdt.internal.core.ElementCache
              extended by org.eclipse.jdt.internal.core.VerboseElementCache
All Implemented Interfaces:
java.lang.Cloneable

public class VerboseElementCache
extends ElementCache


Constructor Summary
VerboseElementCache(int size, java.lang.String name)
           
 
Method Summary
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Sets the value in the cache at the given key.
 
Methods inherited from class org.eclipse.jdt.internal.core.OverflowingLRUCache
clone, elements, fillingRatio, getEntryTable, getLoadFactor, getOverflow, printStats, remove, setLoadFactor, setSpaceLimit, shrink, toString
 
Methods inherited from class org.eclipse.jdt.internal.core.util.LRUCache
flush, flush, get, getCurrentSpace, getKey, getSpaceLimit, keys, keysAndValues, peek, removeKey, toStringFillingRation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerboseElementCache

public VerboseElementCache(int size,
                           java.lang.String name)
Method Detail

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Description copied from class: OverflowingLRUCache
Sets the value in the cache at the given key. Returns the value.

Overrides:
put in class OverflowingLRUCache
Parameters:
key - Key of object to add.
value - Value of object to add.
Returns:
added value.