@@ -0,0 +1,337 @@
+// http://codingbat.com/prob/p117630%0A%0Apublic Map%3CString, Integer%3E wordCount(String%5B%5D strings) %7B%0A  Map%3CString, Integer%3E map = new HashMap%3CString, Integer%3E();%0A  for (String string : strings) %7B%0A    int occurrencesOfString = (!map.containsKey(string)) ? 0 : map.get(string);%0A    map.put(string, occurrencesOfString + 1);%0A  %7D%0A  return map;%0A%7D%0A

Create wordCount.java