Holds an character value
Implements: Compare, Clone, Stringify
OperationsDefault constructor
New()
Copy constructor
New(value:Char)
Name | Type | Description |
---|---|---|
value | Char | character value |
Clones the object instance
method : public : Clone() ~ System.CharRef
Type | Description |
---|---|
CharRef | cloned the object instance |
Compares two objects
method : public : native : Compare(rhs:System.Compare) ~ Int
Name | Type | Description |
---|---|---|
rhs | Compare | compare object |
Type | Description |
---|---|
Int | 0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater |
Creates an array of references from primitives
function : FromArray(in:Char[]) ~ CharRef[]
Name | Type | Description |
---|---|---|
in | Char[] | array of primitives |
Type | Description |
---|---|
CharRef[] | an array of references |
Get character value
method : public : Get() ~ Char
Type | Description |
---|---|
Char | character value |
Returns a unique hash ID for a character
method : public : HashID() ~ Int
Type | Description |
---|---|
Int | hash ID |
Set character value
method : public : Set(value:Char) ~ Nil
Name | Type | Description |
---|---|---|
value | Char | character value |
Creates an array of primitives from references
function : ToArray(in:CharRef[]) ~ Char[]
Name | Type | Description |
---|---|---|
in | CharRef[] | array of references |
Type | Description |
---|---|
Char[] | an array of primitives |