in scala.collection.jcl
class WeakHashMap

`class` WeakHashMap [K, E]
  `extends` java.lang.Object
  `with` scala.collection.jcl.MapWrapper[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

Direct Known Subclasses:
  internedSymbols

Constructor Summary
| `def` this
| `def` this (underlying: java.util.WeakHashMap)

Val Summary
`override` | `val` underlying : java.util.WeakHashMap

Def inherited from scala.collection.jcl.MapWrapper[K, E]
clear , contains, elements, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, super$putAll, super=uals, toString, underlying, valueSet

Constructor Detail

`def` this

`def` this (underlying: java.util.WeakHashMap)

Val Detail

`override val` underlying : java.util.WeakHashMap