Aladdin - Scala Bugtracking
[#1079] project: api priority: low category: feature
submitter assigned to status date submitted
Nikolay Sean open 2007-05-01 13:07:29.0
subject [contrib #421] Add JCL for java.util.Hashtable
code
I'm using the java.util.Properties class in my project and this derives
from java.util.Hashtable<Object,Object>.

It would be useful to have a wrapper for this, the Hashtable that is,
instead of the Properties.

I just added a local copy of this definition, copied from jcl.HashMap,
which seems to work fine in my case:

class Hashtable[K,E](override val underlying: java.util.Hashtable) extends scala.collection.jcl.MapWrapper[K,E] {
  def this() = this(new java.util.Hashtable);
}

Regards,
Blair
what happened
what expected
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-05-01 13:07:57.0
contribution #421