compare abstract method
Result of comparing x with y. Returns an Int whose sign is:
- negative iff
x < y - zero iff
x == y - positive iff
x > y
Implementation
int compare(T x, T y);
Result of comparing x with y. Returns an Int whose sign is:
x < yx == yx > yint compare(T x, T y);