Object.opCmp

int opCmp(Object o)

Compare with another Object obj.

Returns

this < obj < 0
this == obj 0
this > obj > 0