Resets the index table so that the returned indices are in linear order, meaning the original input would be returned in its original order instead of sorted order.
()
| 121 | * instead of sorted order. |
| 122 | */ |
| 123 | public void reset() |
| 124 | { |
| 125 | for(int i = 0; i < index.size(); i++) |
| 126 | index.set(i, i); |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Reverse the current index order |