Skip to content

Commit d046174

Browse files
committed
Further optimized read me
1 parent 822c3f2 commit d046174

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,23 @@
33

44
A program made to visualize different sorting-algorithms which need to be provided manually.
55
Download the program [here](https://littlerolf.github.io/SortAlgorithmVisualizer/jar/SAV.jar). The API-JAR is available [here](https://littlerolf.github.io/SortAlgorithmVisualizer/jar/SAV_API.jar).
6+
67
Your class has to look like this:
78

89
```java
910
package examplecompany;
1011
import de.littlerolf.sav.data.*;
1112

1213
public class Sorter extends BaseSorter {
14+
@Override
1315
public int[] sortArray(int[] numbers) {
14-
//Insert algorithm here. At each step, call:
15-
saveHistory(numbers);
16+
//Insert algorithm here. At each step, call:
17+
saveHistory(numbers);
18+
}
19+
20+
@Override
21+
public String getName() {
22+
return "AwesomeSort";
1623
}
1724
}
1825
```

0 commit comments

Comments
 (0)