scala.ref

class ReferenceQueue

[source: scala/ref/ReferenceQueue.scala]

class ReferenceQueue[+T <: AnyRef]
extends AnyRef
Author
Sean McDirmid
Method Summary
protected def Wrapper [U <: AnyRef](ref : java.lang.ref.Reference[U]) : Option[Wrapper[U]]
def poll : Option[Reference[T]]
def remove : Option[Reference[T]]
def remove (timeout : Long) : Option[Reference[T]]
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
protected class Wrapper [U <: AnyRef](val underlying : java.lang.ref.Reference[U]) extends ReferenceWrapper[U]
Method Details
override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.


protected def Wrapper[U <: AnyRef](ref : java.lang.ref.Reference[U]) : Option[Wrapper[U]]

def poll : Option[Reference[T]]

def remove : Option[Reference[T]]

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