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 : java.lang.ref.WeakReference
Methods inherited from ReferenceWrapper
isValid, get, apply, clear, enqueue, isEnqueued, hashCode, equals
Methods inherited from Reference
toString
Methods inherited from AnyRef
getClass, 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 : java.lang.ref.WeakReference
Overrides
ReferenceWrapper.underlying