This method of the IIntRangeComparator Interface swaps ranges. This method is called by IntRanges.sort.
void swapRanges(IntRanges ranges, int i1, int i2);
ranges | The IntRanges object in which to swap. |
i1 | The index of the first range to swap. |
i2 | The index of the second range to swap. |