Like a noob, I missed some things... broke the compilation.

This commit is contained in:
mweaver
2009-04-22 15:24:26 -06:00
parent f68f1e5888
commit 6b89ecd0ee
18 changed files with 34 additions and 30 deletions

View File

@ -337,6 +337,10 @@ public class HashMap<K, V> implements Map<K, V> {
return change;
}
public boolean remove(Object o) {
return (o instanceof Entry<?,?>) ? remove((Entry<?,?>)o) : false;
}
public boolean remove(Entry<K, V> e) {
return removeCell(e.getKey()) != null;
}
@ -416,7 +420,7 @@ public class HashMap<K, V> implements Map<K, V> {
throw new UnsupportedOperationException();
}
public boolean remove(V value) {
public boolean remove(Object value) {
throw new UnsupportedOperationException();
}