54Georgiy KorneevJava Advanced / Collections Framework Пример. Подсчет слов в тексте (1) while (scanner.hasNext()) { String word = scanner.next(); Integer count = (Integer) map.get(word); int value = (count == null) ? 0 : count.intValue(); map.put(wo
{}