This method of the IntRanges Class retrieves the end of a range at a specified index.
public int getRangeEnd(int idx);
Throws ArrayIndexOutOfBoundsException if the index is less than zero or equal to or greater than the array size.
Returns the last integer of the range pair.
idx | The index of the range pair. |