scala.ref

package scala.ref

Members list

Type members

Classlikes

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

Attributes

Source
PhantomReference.scala
Supertypes
trait ReferenceWrapper[T]
trait Proxy
trait Reference[T]
trait () => T
class Object
trait Matchable
class Any
Show all
trait Reference[+T <: AnyRef] extends () => T

Attributes

See also

java.lang.ref.Reference

Source
Reference.scala
Supertypes
trait () => T
class Object
trait Matchable
class Any
Known subtypes
trait ReferenceWrapper[T]
class PhantomReference[T]
class SoftReference[T]
class WeakReference[T]
class ReferenceQueue[+T <: AnyRef]

Attributes

Source
ReferenceQueue.scala
Supertypes
class Object
trait Matchable
class Any
trait ReferenceWrapper[+T <: AnyRef] extends Reference[T], Proxy

Attributes

Source
ReferenceWrapper.scala
Supertypes
trait Proxy
trait Reference[T]
trait () => T
class Object
trait Matchable
class Any
Show all
Known subtypes
class PhantomReference[T]
class SoftReference[T]
class WeakReference[T]
class SoftReference[+T <: AnyRef](value: T, queue: ReferenceQueue[T]) extends ReferenceWrapper[T]

Attributes

Companion
object
Source
SoftReference.scala
Supertypes
trait ReferenceWrapper[T]
trait Proxy
trait Reference[T]
trait () => T
class Object
trait Matchable
class Any
Show all
object SoftReference

A companion object that implements an extractor for SoftReference values

A companion object that implements an extractor for SoftReference values

Attributes

Companion
class
Source
SoftReference.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class WeakReference[+T <: AnyRef](value: T, queue: ReferenceQueue[T]) extends ReferenceWrapper[T]

A wrapper class for java.lang.ref.WeakReference The new functionality is (1) results are Option values, instead of using null.

A wrapper class for java.lang.ref.WeakReference The new functionality is (1) results are Option values, instead of using null. (2) There is an extractor that maps the weak reference itself into an option.

Attributes

Companion
object
Source
WeakReference.scala
Supertypes
trait ReferenceWrapper[T]
trait Proxy
trait Reference[T]
trait () => T
class Object
trait Matchable
class Any
Show all
object WeakReference

An extractor for weak reference values

An extractor for weak reference values

Attributes

Companion
class
Source
WeakReference.scala
Supertypes
class Object
trait Matchable
class Any
Self type