refactor to use polymorphism
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Sorting;
|
||||
|
||||
public class WordInsertionSorter extends WordSorter {
|
||||
public class WordInsertionSorter extends Sorter {
|
||||
|
||||
public WordInsertionSorter(RandomWordFileReader reader){
|
||||
super("insertion sort", reader);
|
||||
|
||||
Reference in New Issue
Block a user