Reference

trait Reference[+T <: AnyRef] extends () => T
See also

java.lang.ref.Reference

trait () => T
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(): T

return the underlying value

return the underlying value

def clear(): Unit
def get: Option[T]

return Some underlying if it hasn't been collected, otherwise None

return Some underlying if it hasn't been collected, otherwise None

Concrete methods

override def toString: String
Definition Classes
Function0 -> Any