Packages

t

scala.ref

Reference

trait Reference[+T <: AnyRef] extends () ⇒ T

Source
Reference.scala
See also

java.lang.ref.Reference

Linear Supertypes
() ⇒ T, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reference
  2. Function0
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(): T

    return the underlying value

    return the underlying value

    returns

    the result of function application.

    Definition Classes
    ReferenceFunction0
  2. abstract def clear(): Unit
  3. abstract def enqueue(): Boolean
  4. abstract def get: Option[T]

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

  5. abstract def isEnqueued(): Boolean

Concrete Value Members

  1. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    ReferenceFunction0 → AnyRef → Any