(Comparable[] a)
| 155 | |
| 156 | // print array to standard output |
| 157 | private static void show(Comparable[] a) { |
| 158 | for (int i = 0; i < a.length; i++) { |
| 159 | StdOut.println(a[i]); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Reads in a sequence of strings from standard input; quicksorts them; |