Helper functions for compares and swaps.
(int i, int j)
| 137 | * Helper functions for compares and swaps. |
| 138 | ***************************************************************************/ |
| 139 | private boolean less(int i, int j) { |
| 140 | return i < j; |
| 141 | } |
| 142 | |
| 143 | private void exch(int i, int j) { |
| 144 | int swap = pq[i]; |
no outgoing calls
no test coverage detected