Sorts the array.
(String[] a)
| 5 | |
| 6 | /** Sorts the array. */ |
| 7 | public static void sort(String[] a) { |
| 8 | if (a==null) |
| 9 | return; |
| 10 | if (!alreadySorted(a)) |
| 11 | sort(a, 0, a.length - 1); |
| 12 | } |
| 13 | |
| 14 | static void sort(String[] a, int from, int to) { |
| 15 | int i = from, j = to; |
no test coverage detected