Home

CharHolder

Holds an character value

Implements: Compare

Operations

New

Default constructor

New()

Copy constructor

New(value:Char)
Parameters
NameTypeDescription
valueCharcharacter value

Compare

Compares two objects

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

Return
TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

Get

Get character value

method : public : Get() ~ Char
Return
TypeDescription
Charcharacter value

HashID

Returns a unique hash ID for a character

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

Set

Set character value

method : public : Set(value:Char) ~ Nil
Parameters
NameTypeDescription
valueCharcharacter value