/guava/android/guava/src/com/google/common/math/Quantiles.java
swap( array, required, from) ;
swap ( array, mid, from ) ;
private static void movePivotToStartOfSlice(double[] array, int from, int to) { int mid = (from + to) >>> 1; boolean toLessThanMid = (array[to] < array[mid]); boolean midLessThanFrom = (array[mid] < array[from]); boolean toLessThanFrom = (array[to] < array[from]); if (toLessThanMid == midLessThanFrom) { <extra_id_0> } else if (toLessThanMid != toLessThanFrom) { swap(array, from, to); } } private static void selectAllInPlace( int[] allRequired, int requiredFrom, int requiredTo, double[] array, int from, int to) {