Compare whether two objects represent the same thing.
The return value can also be used to sort the objects.
this |
The comparable object |
other |
Another comparable object |
Zero if the two objects represent the same thing, non-zero if not. |