blob: 474a3740e4614294058fed7666c46be23c21ebab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2006-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://www.scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id$
package scala.collection.jcl
/** A hash set that is backed by a Java hash table.
*
* @author Sean McDirmid
*/
class Hashtable[K,E](override val underlying: java.util.Hashtable[K,E]) extends MapWrapper[K,E] {
def this() = this(new java.util.Hashtable[K,E])
override def clone() : Hashtable[K,E] =
new Hashtable[K,E](underlying.clone().asInstanceOf[java.util.Hashtable[K,E]])
}
|