Class LSBRadixSorter

java.lang.Object
org.apache.lucene.util.LSBRadixSorter

public final class LSBRadixSorter extends Object
A LSB Radix sorter for unsigned int values.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Constructor Details

    • LSBRadixSorter

      public LSBRadixSorter()
  • Method Details

    • sort

      public void sort(int numBits, int[] array, int len)
      Sort array[0:len] in place.
      Parameters:
      numBits - how many bits are required to store any of the values in array[0:len]. Pass 32 if unknown.