static int stdCompare(Number a, Number b) { ret cmp(a, b); } static int stdCompare(S a, S b) { ret cmp(a, b); } static int stdCompare(long a, long b) { ret a < b ? -1 : a > b ? 1 : 0; } static int stdCompare(O a, O b) { ret cmp(a, b); }