/guava/guava/src/com/google/common/math/Quantiles.java
selectAllInPlace( requiredSelections, remainder, requiredSelectionsCount - 1, dataset, remainder, dataset.length - 1) ;
selectAllInPlace ( requiredSelections, 0, requiredSelectionsCount - 1, dataset, 0, dataset.length - 1 ) ;
if (remainder != 0) { requiredSelections[requiredSelectionsCount] = quotient + 1; requiredSelectionsCount++; } } sort(requiredSelections, 0, requiredSelectionsCount); <extra_id_0> Map<Integer, Double> ret = new LinkedHashMap<>(); for (int i = 0; i < indexes.length; i++) { int quotient = quotients[i]; int remainder = remainders[i]; if (remainder == 0) { ret.put(indexes[i], dataset[quotient]);