scala.ref
package scala.ref
Type members
Classlikes
class PhantomReference[+T <: AnyRef](value: T, queue: ReferenceQueue[T]) extends ReferenceWrapper[T]
- Source:
- PhantomReference.scala
@nowarn("cat=deprecation")
- Source:
- ReferenceWrapper.scala
object SoftReference
A companion object that implements an extractor for SoftReference
values
A companion object that implements an extractor for SoftReference
values
- Companion:
- class
- Source:
- SoftReference.scala
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.
- Companion:
- object
- Source:
- WeakReference.scala
object WeakReference
An extractor for weak reference values
An extractor for weak reference values
- Companion:
- class
- Source:
- WeakReference.scala