lol
This commit is contained in:
commit
613bef2496
108 changed files with 8397 additions and 0 deletions
20
src/zutil/test/ExternalSortTest.java
Normal file
20
src/zutil/test/ExternalSortTest.java
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package zutil.test;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import zutil.algo.sort.ExternalSort;
|
||||
|
||||
|
||||
public class ExternalSortTest {
|
||||
public static void main(String[] args){
|
||||
try {
|
||||
File file = new File("C:\\Users\\Ziver\\Desktop\\IndexFile.txt");
|
||||
File sortedFile = new File("C:\\Users\\Ziver\\Desktop\\SortedIndexFile.txt");
|
||||
|
||||
ExternalSort sort = new ExternalSort(file, sortedFile);
|
||||
sort.sort();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue