We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2f1bc5 commit 973be0cCopy full SHA for 973be0c
bigdata/src/main/java/cn/tommyyang/bigfile/BigFile.java
@@ -13,8 +13,8 @@
13
public class BigFile {
14
15
public static void main(String[] args) throws IOException {
16
- FileService fileService = new FileService("./smallfiles/sink-0.txt");
17
//BigFileTool.readContent(args[0], args[1]);
+ FileService fileService = new FileService("./smallfiles/sink-0.txt");
18
fileService.countWords();
19
System.out.println(fileService.getTreeMap());
20
System.out.println(fileService.getTreeMap().firstEntry().getKey() + ":" + fileService.getTreeMap().firstEntry().getValue());
0 commit comments