org.apache.solr.util
Class PrimUtils

java.lang.Object
  extended by org.apache.solr.util.PrimUtils

public class PrimUtils
extends Object

Utilities for primitive Java data types.


Nested Class Summary
static class PrimUtils.IntComparator
           
 
Constructor Summary
PrimUtils()
           
 
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
 

Constructor Detail

PrimUtils

public PrimUtils()
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?



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.