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.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimUtils
public PrimUtils()
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?
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.