scala.ref
trait ReferenceWrapper

[source: `scala/ref/ReferenceWrapper.scala`]

`` `trait` ReferenceWrapper[+T <: AnyRef]
  `extends` Reference[T]

Author
  Seam McDirmid

Direct Known Subclasses:
  PhantomReference, ReferenceQueue.Wrapper, SoftReference, WeakReference

Value Summary
`abstract val` | underlying : Reference

Method Summary
`def` | apply : T
`def` | clear : Unit
`def` | enqueue : Boolean
`def` | isEnqueued : Boolean
`def` | isValid : Boolean

Methods inherited from Reference
get, 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

`abstract` `val` underlying : Reference

Method Details

`` `def` isValid : Boolean

Overrides
  Reference.isValid

`` `def` apply : T

Overrides
  Reference.apply

`` `def` clear : Unit

Overrides
  Reference.clear

`` `def` enqueue : Boolean

Overrides
  Reference.enqueue

`` `def` isEnqueued : Boolean

Overrides
  Reference.isEnqueued