On this page
Class scala.ref.PhantomReference
class PhantomReference[+T <: AnyRef](value: T, queue: ReferenceQueue[T]) extends ReferenceWrapper[T]
Supertypes |
---|
Inherited methods
Source
def apply(): T
Inherited from | ReferenceWrapper |
---|
Source
Inherited from | ReferenceWrapper |
---|
Source
Inherited from | ReferenceWrapper |
---|
Source
Source
Definition Classes | ReferenceWrapper -> Reference |
---|---|
Inherited from | ReferenceWrapper |
Source
Source
def isEnqueued: Boolean
Inherited from | ReferenceWrapper |
---|
Source
Inherited from | ReferenceWrapper |
---|
Source
Concrete fields
Source
val underlying: PhantomReference[_ <: T]
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/ref/PhantomReference.html