Home

BoolHolder

Holds a boolean value

Implements: Compare

Operations

New

Default constructor

New()

Copy constructor

New(value:Bool)
Parameters
NameTypeDescription
valueBoolboolean value

Compare

Compares two objects

method : public : native : Compare(rhs:Compare) ~ Int
Parameters
NameTypeDescription
rhsComparecompare object

Return
TypeDescription
Int0 if equal, -1 if types differ, 1 if equal

Get

Get boolean value

method : public : Get() ~ Bool
Return
TypeDescription
Boolboolean value

HashID

Returns a unique hash ID for a boolean

method : public : HashID() ~ Int
Return
TypeDescription
Inthash ID

Set

Set boolean value

method : public : Set(value:Bool) ~ Nil
Parameters
NameTypeDescription
valueBoolboolean value