The sort method of the IntRanges Class contains the following signatures:
sort(IIntRangeComparator judge)
sort()
Sorts the ranges by the first element in each range pair.
public synchronized void sort(IIntRangeComparator judge);
Throws SecurityException if the key is immutable.
judge | The interface to help compare equal ranges while sorting. This parameter value can be null. |
Sorts the ranges by left endpoints.
public void sort();