rangeCheck
Throws an IndexOutOfBoundsException if the range [fromIndex, toIndex) is invalid for an array of the given length. Throws IllegalArgumentException if fromIndex > toIndex.
Throws an IndexOutOfBoundsException if the range [fromIndex, toIndex) is invalid for an array of the given length. Throws IllegalArgumentException if fromIndex > toIndex.