Package org.apache.lucene.util
Class LSBRadixSorter
java.lang.Object
org.apache.lucene.util.LSBRadixSorter
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sort
(int numBits, int[] array, int len) Sortarray[0:len]
in place.
-
Constructor Details
-
LSBRadixSorter
public LSBRadixSorter()
-
-
Method Details
-
sort
public void sort(int numBits, int[] array, int len) Sortarray[0:len]
in place.- Parameters:
numBits
- how many bits are required to store any of the values inarray[0:len]
. Pass32
if unknown.
-