HashMap<String, int> doesn't seem to work but HashMap<String, Integer> does work. Any ideas why?
HashMap<String, int>
HashMap<String, Integer>
GNU Trove support this but not using generics. http://trove4j.sourceforge.net/javadocs/gnu/trove/TObjectIntHashMap.html