class
Switch
extends AnyRef
Instance Constructors
-
new
Switch
(startAsOn: Boolean)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
ifElseYield
[T]
(on: ⇒ T)(off: ⇒ T): T
-
def
ifOff
(action: ⇒ Unit): Boolean
-
def
ifOffYield
[T]
(action: ⇒ T): Option[T]
-
def
ifOn
(action: ⇒ Unit): Boolean
-
def
ifOnYield
[T]
(action: ⇒ T): Option[T]
-
def
isInstanceOf
[T0]
: Boolean
-
def
isOff
: Boolean
-
def
isOn
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
switchOff
: Boolean
-
def
switchOff
(action: ⇒ Unit): Boolean
-
def
switchOn
: Boolean
-
def
switchOn
(action: ⇒ Unit): Boolean
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
transcend
(from: Boolean, action: ⇒ Unit): Boolean
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
whileOff
(action: ⇒ Unit): Boolean
-
def
whileOffYield
[T]
(action: ⇒ T): Option[T]
-
def
whileOn
(action: ⇒ Unit): Boolean
-
def
whileOnYield
[T]
(action: ⇒ T): Option[T]
Inherited from AnyRef
Inherited from Any
An atomic switch that can be either on or off