@Test public void testSort_Negative() { int[] ints = {1, -2, 3, 4, -5}; IntTimSort.sort(ints, reverseSort); assertArrayEquals(new int[]{4, 3, 1, -2, -5}, ints); }
public static void sort(int[] a, IntComparator c) { sort(a, 0, a.length, c); }
IntTimSort { public static void sort(int[] a, IntComparator c) { sort(a, 0, a.length, c); } }
IntTimSort { public static void sort(int[] a, IntComparator c) { sort(a, 0, a.length, c); } private  IntTimSort(int[] a, IntComparator c); }
IntTimSort { public static void sort(int[] a, IntComparator c) { sort(a, 0, a.length, c); } private  IntTimSort(int[] a, IntComparator c); static void sort(int[] a, IntComparator c); static void sort(int[] a, int lo, int hi, IntComparator c); }
IntTimSort { public static void sort(int[] a, IntComparator c) { sort(a, 0, a.length, c); } private  IntTimSort(int[] a, IntComparator c); static void sort(int[] a, IntComparator c); static void sort(int[] a, int lo, int hi, IntComparator c);  }