fix build breakage due to missing isEmpty() methods

This commit is contained in:
Joel Dice
2007-11-07 09:48:09 -07:00
parent 4611c89dbe
commit fef3cddb9e
4 changed files with 24 additions and 1 deletions

View File

@ -22,6 +22,10 @@ public class HashSet<T> implements Set<T> {
return map.size();
}
public boolean isEmpty() {
return map.isEmpty();
}
public boolean contains(T element) {
return map.containsKey(element);
}