title: JAVA - eclipse debug remove/change a key in map
body: <p>I have a situation where I need to <strong>change(remove will also work)</strong> value corresponding to a key in a <code>Map</code>.</p>
  
  <p>There are so many <strong></strong> pairs in map. I don't want to copy all and create new map in change value for <code>Map</code>.</p>
  
  <p>Is there any way I can directly change/remove value corresponding to a key.</p>
  
  <p><img src="https://i.stack.imgur.com/pm3xS.jpg" alt="enter image description here"></p>
  
  <p>I have tried changing complete map like :</p>
  
  <pre><code>Map m = commandParameters;
  m.put("AID","");
  return m;
  </code></pre>
  
  <p>But <code>commandParameters</code> is not resolved.</p>
  
  <p>I tried changing that particular entry using random expressions, but could not work out.</p>
  
  <p>Is there any way to do so?</p>
  
  <p>**EDIT : ** commandParameters is original map.</p>