removing extraneous override
This commit is contained in:
@@ -4,15 +4,15 @@ package Sorting;
|
|||||||
* an implementation of quick sort with three-way partitioning
|
* an implementation of quick sort with three-way partitioning
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class QuickSorterThreeWay extends Sorter{
|
public class QuickSorterThreeWay extends QuickSorter{
|
||||||
|
|
||||||
public QuickSorterThreeWay(String filename){
|
public QuickSorterThreeWay(String filename){
|
||||||
super("quick sort (3-way partition)", filename);
|
super("quick sort (3-way partition)", filename);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
void sort(){
|
void sort(){
|
||||||
quickSort(0,numbers.length-1);
|
quickSort(0,numbers.length-1);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
void quickSort(int lowIndex, int highIndex){
|
void quickSort(int lowIndex, int highIndex){
|
||||||
if(compare(lowIndex,highIndex)<0){
|
if(compare(lowIndex,highIndex)<0){
|
||||||
|
|||||||
Reference in New Issue
Block a user