fix the total mess in Basket.java
[org.ibex.util.git] / src / org / ibex / util / Cache.java
index dc903b8..33c04c5 100644 (file)
@@ -11,6 +11,10 @@ package org.ibex.util;
  *  @author crawshaw@ibex.org
  */
 public class Cache extends Basket.HashMap {
+    public Cache(int maxSize, boolean accessOrder) {
+        super(maxSize * 2, 0.75F);
+    }
+    /*
     private static final long serialVersionUID = 23498092L;
 
     private final int maxSize;
@@ -64,4 +68,5 @@ public class Cache extends Basket.HashMap {
     protected void entryUpdated(int i) {
         if (!accessOrder) { entryRemoved(i); entryAdded(i); }
     }
+    */
 }