scala.ref

trait Reference

[source: scala/ref/Reference.scala]

trait Reference[+T <: AnyRef]
extends () => T
Author
Sean McDirmid
Direct Known Subclasses:
ReferenceWrapper

Method Summary
abstract def apply : T
abstract def clear : Unit
abstract def enqueue : Boolean
def get : Option[T]
abstract def isEnqueued : Boolean
abstract def isValid : Boolean
override def toString : String
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def isValid : Boolean

abstract def apply : T
Overrides Function0.apply
def get : Option[T]

override def toString : String
Overrides Function0.toString
abstract def clear : Unit

abstract def enqueue : Boolean

abstract def isEnqueued : Boolean