Package org.apache.solr.util
Class PrimUtils
- java.lang.Object
-
- org.apache.solr.util.PrimUtils
-
public class PrimUtils extends Object
Utilities for primitive Java data types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrimUtils.IntComparator
-
Constructor Summary
Constructors Constructor Description PrimUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
sort(int start, int end, int[] array, PrimUtils.IntComparator comparator)
Sort the integer array from "start" inclusive to "end" exclusive in ascending order, using the provided comparator.
-
-
-
Method Detail
-
sort
public static void sort(int start, int end, int[] array, PrimUtils.IntComparator comparator)
Sort the integer array from "start" inclusive to "end" exclusive in ascending order, using the provided comparator. TODO: is this an unstable sort?
-
-