Bundle Core runtime library providing primitive types (Bool, Byte, Char, Int, Float, String), base collections, and system utilities. Every Objeck program links against this bundle automatically via lang.obl.
Compare
Used to compare two abstract values
Operations
Compare # virtual
Compares two objects
method : public : virtual : 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 |
HashID # virtual
Returns a hash ID for the given class
method : public : virtual : HashID() ~ Int
Return
| Type | Description |
|---|
| Int | hash ID |