scala.ref
class WeakReference

[source: `scala/ref/WeakReference.scala`]

`` `class` WeakReference[+T <: AnyRef](value : T, queue : ReferenceQueue[T])
  `extends` ReferenceWrapper[T]

Author
  Sean McDirmid

Additional Constructor Summary
`def` | this (value : T) : WeakReference[T]

Value Summary
`val` | underlying : WeakReference

Methods inherited from ReferenceWrapper
isValid, get, apply, clear, enqueue, isEnqueued

Methods inherited from Reference
toString

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Additional Constructor Details

`` `def` this(value : T) : WeakReference[T]

Value Details

`` `val` underlying : WeakReference

Overrides
  ReferenceWrapper.underlying