org.eclipse.jdt.internal.core
Class ElementCache

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
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
VerboseElementCache

public class ElementCache
extends OverflowingLRUCache

An LRU cache of JavaElements.


Constructor Summary
ElementCache(int size)
          Constructs a new element cache of the given size.
ElementCache(int size, int overflow)
          Constructs a new element cache of the given size.
 
Method Summary
 
Methods inherited from class org.eclipse.jdt.internal.core.OverflowingLRUCache
clone, elements, fillingRatio, getEntryTable, getLoadFactor, getOverflow, printStats, put, 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

ElementCache

public ElementCache(int size)
Constructs a new element cache of the given size.


ElementCache

public ElementCache(int size,
                    int overflow)
Constructs a new element cache of the given size.