forked from Gaming32/ArrayV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.java
More file actions
26 lines (21 loc) · 719 Bytes
/
template.java
File metadata and controls
26 lines (21 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package sorts.category;
import main.ArrayVisualizer;
import sorts.templates.Sort;
final public class MySort extends Sort {
public MySort(ArrayVisualizer arrayVisualizer) {
super(arrayVisualizer);
this.setSortListName("My");
this.setRunAllSortsName("My Sort");
this.setRunSortName("Mysort");
this.setCategory("Category Sorts");
this.setComparisonBased(true);
this.setBucketSort(false);
this.setRadixSort(false);
this.setUnreasonablySlow(false);
this.setUnreasonableLimit(0);
this.setBogoSort(false);
}
@Override
public void runSort(int[] array, int currentLength, int bucketCount) {
}
}