[Kaffe] Map.java patch

Moses DeJong dejong at cs.umn.edu
Sun Feb 14 18:17:02 PST 1999


Here is a quick patch for Map.java to add the remove method.

Index: Map.java
===================================================================
RCS file: /home/cvspublic/kaffe/libraries/javalib/java/util/Map.java,v
retrieving revision 1.1
diff -u -r1.1 Map.java
--- Map.java    1998/12/08 02:05:13     1.1
+++ Map.java    1999/02/15 03:20:18
@@ -10,9 +10,9 @@
 
 package java.util;
 
-public abstract interface Map {
+public interface Map {
 
-public abstract static interface Entry {
+public static interface Entry {
 
 public Object getKey();
 public Object getValue();
@@ -31,9 +31,10 @@
 public void putAll(Map m);
 public void clear();
 public Set keySet();
-public Collection values();
 public Set entrySet();
+public Collection values();
 public boolean equals(Object o);
 public int hashCode();
+public Object remove(Object o);
 
 }


Mo DeJong
dejong at cs.umn.edu



More information about the kaffe mailing list