|
Scala Library Documentation
|
|
scala/ref/ReferenceWrapper.scala]
trait
ReferenceWrapper[+T <: AnyRef]
extends Reference[T]| Value Summary | |
abstract val
|
underlying : Reference |
| Method Summary | |
def
|
apply
: T
return the underlying value
|
def
|
clear : Unit |
def
|
enqueue : Boolean |
override def
|
get
: Option[T]
return
Some underlying if it hasn't been collected, otherwise None |
def
|
isEnqueued : Boolean |
def
|
isValid : Boolean |
| Methods inherited from Reference | |
| toString |
| 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 |
def
isValid : Boolean
Some underlying if it hasn't been collected, otherwise None
def
apply : T
def
clear : Unit
def
enqueue : Boolean
def
isEnqueued : Boolean
|
Scala Library Documentation
|
|