Instance Constructors
-
new
Flag(enabled: Boolean)
Type Members
-
type
T = Flag
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Flag, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Flag
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
def
merge(that: Flag): Flag
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
switchOn: Flag
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Flag, B)
Inherited by implicit conversion any2stringadd from
Flag to any2stringadd[Flag]
Inherited by implicit conversion StringFormat from
Flag to StringFormat[Flag]
Inherited by implicit conversion Ensuring from
Flag to Ensuring[Flag]
Inherited by implicit conversion ArrowAssoc from
Flag to ArrowAssoc[Flag]
Implements a boolean flag CRDT that is initialized to
false
and can be switched totrue
.true
wins overfalse
in merge.This class is immutable, i.e. "modifying" methods return a new instance.