raw evaluation numbers for the mp3decoder
[IRC.git] / Robust / src / ClassLibrary / HashMapIterator.java
index 48dc913711c4d2ef0feec5c0b558638ea8361016..d3516022cb21cd0665b1db95fa2c7a33922c1ebc 100644 (file)
@@ -1,4 +1,4 @@
-class HashMapIterator {
+class HashMapIterator extends Iterator {
   HashMap map;
   int type;
   int bin;
@@ -25,9 +25,9 @@ class HashMapIterator {
       he=he.next;
       Object o;
       if (type==0)
-       o=he.key;
+        o=he.key;
       else
-       o=he.value;
+        o=he.value;
       return o;
     }
     while((bin<map.table.length)&&
@@ -37,10 +37,15 @@ class HashMapIterator {
       he=map.table[bin++];
       Object o;
       if (type==0)
-       o=he.key;
+        o=he.key;
       else
-       o=he.value;
+        o=he.value;
       return o;
     } else System.error();
   }
+
+  public void remove() {
+    System.out.println("HashMapIterator.remove() not implemented.");
+    System.exit(-1);
+  }
 }