git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-08-26 00:20:39 +00:00
parent 375afd1342
commit 0b2ed22019
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class PrimUtils {
/** Sort the integer array from "start" inclusive to "end" exclusive in ascending order, /** Sort the integer array from "start" inclusive to "end" exclusive in ascending order,
* using the provided comparator. * using the provided comparator.
* TODO: is this an unstable sort?
*/ */
public static void sort(int start, int end, int[] array, IntComparator comparator) { public static void sort(int start, int end, int[] array, IntComparator comparator) {
// This code was copied from Apache Harmony's Arrays.sort(double[]) and modified // This code was copied from Apache Harmony's Arrays.sort(double[]) and modified