A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/ref/WeakReference$.html below:

WeakReference

Scala 3

/

scala

/

scala.ref

/

WeakReference WeakReference

scala.ref.WeakReference

See theWeakReference companion class object WeakReference

An extractor for weak reference values

Attributes
Companion
class
Source
WeakReference.scala
Graph
Supertypes

class

Object

trait

Matchable

class

Any
Self type
WeakReference

.

type
Members list

Value members

Concrete methods

def apply

[

T <: AnyRef

](

value

:

T

):

WeakReference

[

T

]

Creates a weak reference pointing to value

Creates a weak reference pointing to value

Attributes
Source
WeakReference.scala
def unapply

[

T <: AnyRef

](

wr

:

WeakReference

[

T

]):

Option

[

T

]

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

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

Attributes
Source
WeakReference.scala
In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4