6582946: Add suite of compare(T, T) methods for ints, longs etc

Reviewed-by: darcy
7 files changed