(int a, int b)
| 641 | |
| 642 | |
| 643 | public void swap(int a, int b) { |
| 644 | String tkey = keys[a]; |
| 645 | double tvalue = values[a]; |
| 646 | keys[a] = keys[b]; |
| 647 | values[a] = values[b]; |
| 648 | keys[b] = tkey; |
| 649 | values[b] = tvalue; |
| 650 | |
| 651 | // indices.put(keys[a], Integer.valueOf(a)); |
| 652 | // indices.put(keys[b], Integer.valueOf(b)); |
| 653 | } |
| 654 | |
| 655 | |
| 656 | /** |