SoftReference

A companion object that implements an extractor for SoftReference values

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T <: AnyRef](value: T): SoftReference[T]

Creates a SoftReference pointing to value

def unapply[T <: AnyRef](sr: SoftReference[T]): Option[T]

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