scala.ref

PhantomReference

class PhantomReference[+T <: AnyRef] extends ReferenceWrapper[T]

Source
PhantomReference.scala
Linear Supertypes
ReferenceWrapper[T], Proxy, Reference[T], () ⇒ T, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PhantomReference
  2. ReferenceWrapper
  3. Proxy
  4. Reference
  5. Function0
  6. AnyRef
  7. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PhantomReference(value: T, queue: ReferenceQueue[T])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to StringAdd[PhantomReference[T]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (PhantomReference[T], B)

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to ArrowAssoc[PhantomReference[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def apply(): T

    return the underlying value

    return the underlying value

    returns

    the result of function application.

    Definition Classes
    ReferenceWrapperReferenceFunction0
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clear(): Unit

    Definition Classes
    ReferenceWrapperReference
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def enqueue(): Boolean

    Definition Classes
    ReferenceWrapperReference
  13. def ensuring(cond: (PhantomReference[T]) ⇒ Boolean, msg: ⇒ Any): PhantomReference[T]

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to Ensuring[PhantomReference[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (PhantomReference[T]) ⇒ Boolean): PhantomReference[T]

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to Ensuring[PhantomReference[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): PhantomReference[T]

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to Ensuring[PhantomReference[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): PhantomReference[T]

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to Ensuring[PhantomReference[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean

    Definition Classes
    Proxy → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to StringFormat[PhantomReference[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. 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

    Definition Classes
    ReferenceWrapperReference
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    Proxy → Any
  24. def isEnqueued(): Boolean

    Definition Classes
    ReferenceWrapperReference
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def self: java.lang.ref.Reference[_ <: T]

    Definition Classes
    ReferenceWrapperProxy
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    Proxy → Any
  32. val underlying: java.lang.ref.PhantomReference[_ <: T]

    Definition Classes
    PhantomReferenceReferenceWrapper
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def [B](y: B): (PhantomReference[T], B)

    Implicit information
    This member is added by an implicit conversion from PhantomReference[T] to ArrowAssoc[PhantomReference[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ReferenceWrapper[T]

Inherited from Proxy

Inherited from Reference[T]

Inherited from () ⇒ T

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from PhantomReference[T] to StringAdd[PhantomReference[T]]

Inherited by implicit conversion StringFormat from PhantomReference[T] to StringFormat[PhantomReference[T]]

Inherited by implicit conversion Ensuring from PhantomReference[T] to Ensuring[PhantomReference[T]]

Inherited by implicit conversion ArrowAssoc from PhantomReference[T] to ArrowAssoc[PhantomReference[T]]

Ungrouped