repositories
/
Project_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exo4: fix the class annotation to be included inside the bytecode.
[Project_POO.git]
/
exo5
/
Main.java
diff --git
a/exo5/Main.java
b/exo5/Main.java
index 953bdfe46f61bf06b962e85745c9feeacae93d06..6a780291e35fc7025c3e84ef8410156c76d116d8 100644
(file)
--- a/
exo5/Main.java
+++ b/
exo5/Main.java
@@
-10,6
+10,8
@@
class Main {
* @param String[] args main() function arguments array
*/
public static void main(String[] args) {
* @param String[] args main() function arguments array
*/
public static void main(String[] args) {
+ //TreeMap<String, Integer> tm = new TreeMap<String, Integer>(new StrComparator());
+ // default TreeMap comparator keep alphabetical order
TreeMap<String, Integer> tm = new TreeMap<String, Integer>();
File f = new File("test_file.txt");
try {
TreeMap<String, Integer> tm = new TreeMap<String, Integer>();
File f = new File("test_file.txt");
try {