Packages

object WeakReference

An extractor for weak reference values

Source
WeakReference.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeakReference
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[T <: AnyRef](value: T): WeakReference[T]

    Creates a weak reference pointing to value

  2. def unapply[T <: AnyRef](wr: WeakReference[T]): Option[T]

    Optionally returns the referenced value, or None if that value no longer exists