refactor to use polymorphism
This commit is contained in:
@@ -3,7 +3,7 @@ package Sorting;
|
||||
//import java.util.Arrays;
|
||||
//import java.util.List;
|
||||
|
||||
public class NumberInsertionSorter extends NumberSorter{
|
||||
public class NumberInsertionSorter extends Sorter{
|
||||
|
||||
public NumberInsertionSorter(RandomNumberFileReader reader){
|
||||
super("insertion sort", reader);
|
||||
|
||||
Reference in New Issue
Block a user