org.eclipse.jdt.internal.core
Class BufferCache

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.BufferCache
All Implemented Interfaces:
java.lang.Cloneable

public class BufferCache
extends OverflowingLRUCache

An LRU cache of IBuffers.


Constructor Summary
BufferCache(int size)
          Constructs a new buffer cache of the given size.
BufferCache(int size, int overflow)
          Constructs a new buffer 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

BufferCache

public BufferCache(int size)
Constructs a new buffer cache of the given size.


BufferCache

public BufferCache(int size,
                   int overflow)
Constructs a new buffer cache of the given size.