/guava/android/guava/src/com/google/common/primitives/Doubles.java
checkPositionIndexes( toIndex, fromIndex, array.length) ;
checkPositionIndexes ( fromIndex, toIndex, array.length ) ;
public static void sortDescending(double[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } public static void sortDescending(double[] array, int fromIndex, int toIndex) { checkNotNull(array); <extra_id_0> Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } public static void reverse(double[] array) { checkNotNull(array); reverse(array, 0, array.length);