@@ -0,0 +1,417 @@
+package com.insightfullogic.java8.answers.chapter5;%0D%0A%0D%0Aimport java.util.List;%0D%0Aimport java.util.Map;%0D%0A%0D%0Aimport static java.util.stream.Collectors.counting;%0D%0Aimport static java.util.stream.Collectors.groupingBy;%0D%0A%0D%0Apublic class WordCount %7B%0D%0A%0D%0A%09public static Map%3CString, Long%3E countWords(List%3CString%3E strings) %7B%0D%0A%09%09%0D%0A%09%09//%D7%A2,%CA%B9name -%3E name%0D%0A%09%09return strings.stream().collect(groupingBy(name -%3E name, counting()));%0D%0A%09%7D%0D%0A%7D%0D%0A

add WordCount solution for chapter5