/guava/android/guava/src/com/google/common/primitives/UnsignedBytes.java
checkPositionIndexes( toIndex, fromIndex, array.length) ;
checkPositionIndexes ( fromIndex, toIndex, array.length ) ;
public static void sort(byte[] array) { checkNotNull(array); sort(array, 0, array.length); } public static void sort(byte[] array, int fromIndex, int toIndex) { checkNotNull(array); <extra_id_0> for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]); } Arrays.sort(array, fromIndex, toIndex); for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]);