### Question:
CompareUtils { public static int compareLong(long o1, long o2) { if (o1 < o2) { return -1; } else if (o1 == o2) { return 0; } else { return 1; } }  static int compareLong(long o1, long o2);  }### Answer:
@Test public void test_compare() throws Exception { System.out.println(CompareUtils.compareLong(-1L, -2L)); }