scala.concurrent
class SyncVar

[source: `scala/concurrent/SyncVar.scala`]

`` `class` SyncVar[A]
  `extends` AnyRef

  The class `SyncVar` ...

Author
  Martin Odersky, Stepan Koltsov
Version
  1.0, 10/03/2003

Method Summary
`def` | get : A
`def` | isSet : Boolean
`def` | set (x : A) : Unit
`def` | setWithCatch (x : => A) : Unit
`def` | unset : Unit

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` get : A

`` `def` set(x : A) : Unit

`` `def` setWithCatch(x : => A) : Unit

`` `def` isSet : Boolean

`` `def` unset : Unit