clean up
This commit is contained in:
@@ -9,11 +9,8 @@ public class NumberQuickSorterThreeWay extends NumberQuickSorter{
|
||||
public NumberQuickSorterThreeWay(RandomNumberFileReader reader){
|
||||
super("quick sort (3-way partition)", reader);
|
||||
}
|
||||
/*
|
||||
void sort(){
|
||||
quickSort(0,numbers.length-1);
|
||||
}*/
|
||||
|
||||
|
||||
@Override
|
||||
void quickSort(int lowIndex, int highIndex){
|
||||
if(compare(lowIndex,highIndex)<0){
|
||||
int pivot=numbers[highIndex];
|
||||
|
||||
Reference in New Issue
Block a user