(Comparable[] a)
| 1 | public class Sort { |
| 2 | |
| 3 | public static void sort(Comparable[] a) { |
| 4 | Comparable[] aux = new Comparable[a.length]; |
| 5 | mergeSort(a, aux, 0, a.length - 1); |
| 6 | } |
| 7 | |
| 8 | private static void mergeSort(Comparable[] a, Comparable[] aux, int lo, int hi) { |
| 9 | if (hi <= lo) |
no test coverage detected