import java.util.Iterator;
import net.sourceforge.phpdt.internal.core.util.LRUCache;
-import net.sourceforge.phpdt.internal.core.util.Util;
+//import net.sourceforge.phpdt.internal.core.util.Util;
/**
* The <code>OverflowingLRUCache</code> is an LRUCache which attempts to
*
* @return Hashtable of entries
*/
- public java.util.Hashtable getEntryTable() {
- return fEntryTable;
- }
+// public java.util.Hashtable getEntryTable() {
+// return fEntryTable;
+// }
/**
* Returns the load factor for the cache. The load factor determines how
*
* @return double
*/
- public double getLoadFactor() {
- return fLoadFactor;
- }
+// public double getLoadFactor() {
+// return fLoadFactor;
+// }
/**
* @return The space by which the cache has overflown.
*/
- public int getOverflow() {
- return fOverflow;
- }
+// public int getOverflow() {
+// return fOverflow;
+// }
/**
* Ensures there is the specified amount of free space in the receiver, by
* @throws IllegalArgumentException
* when the new load factor is not in (0.0, 1.0]
*/
- public void setLoadFactor(double newLoadFactor)
- throws IllegalArgumentException {
- if (newLoadFactor <= 1.0 && newLoadFactor > 0.0)
- fLoadFactor = newLoadFactor;
- else
- throw new IllegalArgumentException(Util
- .bind("cache.invalidLoadFactor")); //$NON-NLS-1$
- }
+// public void setLoadFactor(double newLoadFactor)
+// throws IllegalArgumentException {
+// if (newLoadFactor <= 1.0 && newLoadFactor > 0.0)
+// fLoadFactor = newLoadFactor;
+// else
+// throw new IllegalArgumentException(Util
+// .bind("cache.invalidLoadFactor")); //$NON-NLS-1$
+// }
/**
* Sets the maximum amount of space that the cache can store