Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
import java.util.LinkedList;
-//import java.lang.reflect.Method;
import java.lang.annotation.Annotation;
class Main {
}
System.out.println("SortedMap content after the word \"milieu\":");
- SortedMap<String, Integer> stm = tm.tailMap("milieu");
- for (String wordCursor : stm.keySet()) {
- System.out.println("Word \"" + wordCursor + "\" occured " + stm.get(wordCursor) + " times");
+ SortedMap<String, Integer> sm = tm.tailMap("milieu");
+ for (String wordCursor : sm.keySet()) {
+ System.out.println("Word \"" + wordCursor + "\" occured " + sm.get(wordCursor) + " times");
}
}
}