This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / ClassLibrary / HashSet.java
diff --git a/Robust/src/ClassLibrary/HashSet.java b/Robust/src/ClassLibrary/HashSet.java
deleted file mode 100644 (file)
index d3fe4fd..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-public class HashSet {
-  HashMap map;
-  HashSet() {
-    map=new HashMap();
-  }
-  HashSet(int initialCapacity) {
-    map=new HashMap(initialCapacity);
-  }
-  HashSet(int initialCapacity, float loadFactor) {
-    map=new HashMap(initialCapacity, loadFactor);
-  }
-  public boolean add(Object o) {
-    return (map.put(o, this)==null);
-  }
-  public boolean remove(Object o) {
-    return (map.remove(o)!=null);
-  }
-  public boolean isEmpty() {
-    return map.isEmpty();
-  }
-  public boolean contains(Object o) {
-    return map.containsKey(o);
-  }
-  public int size() {
-    return map.size();
-  }
-  public HashMapIterator iterator() {
-    return map.iterator(0);
-  }
-}