This method of the UnsignedIntRanges Class retrieves the end of a range at a specified index.
public int getRangeEnd(int idx);
Returns the last integer of the range pair.
getRangeEnd(int) in IntRanges.