title: Finding Key associated with max Value in a Java Map
body: <p>What is the easiest way to get key associated with the max value in a map?</p>
  
  <p>I believe that Collections.max(someMap) will return the max Key, when you want the key that corresponds to the max value.</p>