in scala.collection.jcl
class WeakHashMap

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.

Author:
Sean McDirmid

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
def this

def this (underlying: java.util.WeakHashMap)

Val Detail
override val underlying : java.util.WeakHashMap