Swaps the given indices in the index table. @param i the second index to swap @param j the first index to swap
(int i, int j)
| 240 | * @param j the first index to swap |
| 241 | */ |
| 242 | public void swap(int i, int j) |
| 243 | { |
| 244 | Collections.swap(index, i, j); |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * Given the index <tt>i</tt> into what would be the sorted array, the index in the unsorted original array is returned. <br> |
no outgoing calls