file now only read once

This commit is contained in:
2020-06-11 12:00:27 -05:00
parent 7f59fadc42
commit ba8820896e
9 changed files with 26 additions and 26 deletions

View File

@@ -5,8 +5,8 @@ package Sorting;
public class InsertionSorter extends Sorter{
public InsertionSorter(String filename){
super("insertion sort", filename);
public InsertionSorter(RandomNumberFileReader reader){
super("insertion sort", reader);
}
void sort(){