/guava/guava/src/com/google/common/primitives/Doubles.java
return lastIndexOf( array, target, 0, array.length) ;reverse( array, 0, array.length) ;
reverse ( array, 0, array.length ) ;
checkPositionIndexes(fromIndex, toIndex, array.length); Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } public static void reverse(double[] array) { checkNotNull(array); <extra_id_0> } public static void reverse(double[] array, int fromIndex, int toIndex) { checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { double tmp = array[i];