title: How to ignore the case sensitive when we look for a key in the Map?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/212562/is-there-a-good-way-to-have-a-mapstring-get-and-put-ignoring-case">Is there a good way to have a Map&lt;String, ?&gt; get and put ignoring case?</a>  </p>
  </blockquote>
  
  
  
  <p>How to ignore case sensitive when searching a key in the java.util.Map?</p>
  
  <p>I want to know whether we can look up for a key in the map by ignoring the case.</p>
  
  <pre><code>Example,
     Map&lt;String, Integer&gt; lookup = new HashMap&lt;String, Integer&gt;();   
     lookup.put("one", 1);   
     lookup.put("two", 2);   
     lookup.put("three", 3); 
  </code></pre>
  
  <p>The user input might be "ONE" or "one". in such a case instead of converting the user input to lowercase. is there is any way to ignore the key sensitive via any methods?</p>
  
  <p>Thanks,
  Kathir</p>