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

@@ -3,8 +3,8 @@ package Sorting;
public class BubbleSorter extends Sorter{
//a class to sort arrays of numbers using bubble sort
public BubbleSorter(String filename){
super("bubble sort", filename);
public BubbleSorter(RandomNumberFileReader reader){
super("bubble sort", reader);
}
void sort(){