scala.ref

ReferenceQueue

class ReferenceQueue[+T <: AnyRef] extends AnyRef

Inherits

  1. AnyRef
  2. Any

Value Members

  1. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  2. def hashCode(): Int

    Returns a hash code value for the object

  3. def poll: Option[Reference[T]]

  4. def register(ref: scala.ref.ReferenceWrapper[_ <: AnyRef]): Unit

  5. def remove(timeout: Long): Option[Reference[T]]

  6. def remove: Option[Reference[T]]

  7. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new ReferenceQueue()