+
+ 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");
+ }