|
Scala 2.3.2
|
class
WeakHashMap
[K, E]
extends
scala.collection.jcl.ConcreteMapWrapper[K, E]
with
scala.ScalaObject
A map that is backed by a Java weak hash map, whose keys are maintained as weak references.
Because keys are weak references, the garbage collector can collect them if they are not referred to elsewhere.
Useful for implementing caches.
Constructor Summary | |
def
this
|
|
def
this
(underlying: java.util.WeakHashMap)
|
Val Summary | |
override
|
val
underlying
: java.util.WeakHashMap
|
Def inherited from scala.collection.jcl.ConcreteMapWrapper[K, E] | |
equals , hashCode, toString |
Constructor Detail |
Val Detail |