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

@ -36,7 +36,7 @@ public class HashSet<T> implements Set<T> {
return map.isEmpty();
}
public boolean contains(T element) {
public boolean contains(Object element) {
return map.containsKey(element);
}
@ -50,7 +50,7 @@ public class HashSet<T> implements Set<T> {
return change;
}
public boolean remove(T element) {
public boolean remove(Object element) {
return map.remove(element) != Value;
}