|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jsort.linear.BaseLinearSort net.sf.jsort.linear.RadixSort
public class RadixSort
This class implements a sorting algorithm based on each digit of each entry. It stripes digits from index value in rows for sorting. It starts from the least significant digit to most significant. See http://en.wikipedia.org/wiki/Radix_sort from details about it.
Nested Class Summary | |
---|---|
static class |
RadixSort.RadixIndexResolver
A proxy implementation of IndexResolver that stripe a digit from index. |
Constructor Summary | |
---|---|
RadixSort()
|
Method Summary | |
---|---|
void |
sort(java.lang.Object[] list,
IndexResolver resolver,
int start,
int end,
int maxIndex)
|
Methods inherited from class net.sf.jsort.linear.BaseLinearSort |
---|
sort, sort, sort, sort, sort, sort, sort, sort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadixSort()
Method Detail |
---|
public void sort(java.lang.Object[] list, IndexResolver resolver, int start, int end, int maxIndex)
sort
in class BaseLinearSort
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |