|
Scala Library
|
|
scala/ref/ReferenceQueue.scala]
class
ReferenceQueue[+T <: AnyRef]
extends AnyRef| Value Summary | |
protected val
|
wrappers : HashMap[java.lang.ref.Reference[Any], ReferenceWrapper[AnyRef]] |
| Method Summary | |
protected def
|
Wrapper (jref : java.lang.ref.Reference[Any]) : Option[Reference[T]] |
def
|
poll : Option[Reference[T]] |
def
|
register (ref : ReferenceWrapper[AnyRef]) : Unit |
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 |
| Value Details |
| Method Details |
override
def
toString : java.lang.String
The default representation is platform dependent.
protected
def
Wrapper(jref : java.lang.ref.Reference[Any]) : Option[Reference[T]]
def
register(ref : ReferenceWrapper[AnyRef]) : Unit
|
Scala Library
|
|