title: How to get key depending upon the value from hashmap
body: <p>I want to retrieve the specific key associated with the value in a hashmap</p>
  
  <p>I want to retrieve the key of "ME", how can I get it?</p>
  
  <p>Code snippet :</p>
  
  <pre><code>HashMap&lt;Integer,String&gt; map = new HashMap&lt;Integer,String&gt;();
  map.put(1,"I");
  map.put(2,"ME");
  </code></pre>