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