Skip to content
Axel Faes edited this page Sep 13, 2015 · 2 revisions

The Object class

Methods

Constructors

By default the new and new() are defined.

! operator

Returns false, since most objects are considered true.

==(other) and !=(other) operators

Compares two objects using built-in equality. This compares numbers by value, and all other objects are compared by identity—two objects are equal only if they are the exact same object.

toString

A default string representation of the object.

type

The Class of the object.

getMethod(name)

Returns a [method object][meth] loaded with the methodName that is given, and the current class.

getAllMethods()

Returns a list of [method objects][meth], they represent all methods from the current instantiation. [meth]:https://github.com/TheAxeC/Cardinal/wiki/Method

Clone this wiki locally