continuing to fill out module for student
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
package Sorting;
|
package Sorting;
|
||||||
|
|
||||||
public class BubbleSorter {
|
public class BubbleSorter extends sorter{
|
||||||
|
//a class to sort arrays of numbers using bubble sort
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@ package Sorting;
|
|||||||
public class SortResult {
|
public class SortResult {
|
||||||
|
|
||||||
private int[] sortedArray;
|
private int[] sortedArray;
|
||||||
private int comparisonsUsed;
|
private long comparisonsUsed;
|
||||||
private int swapsUsed;
|
private long swapsUsed;
|
||||||
private timeUsed;
|
private Duration timeUsed;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user