summaryrefslogtreecommitdiff
path: root/src/dotnet-library/scala/collection/jcl/HashSet.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet-library/scala/collection/jcl/HashSet.scala')
-rw-r--r--src/dotnet-library/scala/collection/jcl/HashSet.scala20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/collection/jcl/HashSet.scala b/src/dotnet-library/scala/collection/jcl/HashSet.scala
new file mode 100644
index 0000000000..900b7008ac
--- /dev/null
+++ b/src/dotnet-library/scala/collection/jcl/HashSet.scala
@@ -0,0 +1,20 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2006-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+// $Id$
+
+package scala.collection.jcl;
+
+/** A hash set that is backed by a Java hash set.
+ *
+ * @author Sean McDirmid
+ */
+class HashSet[A](override val underlying: java.util.HashSet) extends CollectionWrapper[A] with SetWrapper[A] {
+ /** Creates an underlying Java hash set. */
+ def this() = this(new java.util.HashSet);
+}