title: how to remove java map value(not key) in java?
body: <p>I have a java map with this key and values:</p>
  
  <p><code>Xperia:[EM_A, EM_B, M-bus +, M-bus -, MB1, MB2, MB3, MB4, MB5, DOUT1, DOUT2, DOUT3, DOUT4, DOUT5, DOUT6, DOUT7, DOUT8]</code></p>
  
  <p>I've tried this way but it not works:</p>
  
  <pre><code>final Iterator&lt;Entry&lt;String, ArrayList&lt;String&gt;&gt;&gt; iter = termekConf.devNameType.entrySet().iterator();
              while(iter.hasNext()) {
                    final Entry&lt;String, ArrayList&lt;String&gt;&gt; entry = iter.next();
                    if(entry.getValue().equals(torlendoValue)) {
                      iter.remove();                  
                    }
                  }
  </code></pre>
  
  <p>how can I delete a value not a key?
  i really don't know it because the myMap.remove(key) just removes the hole key with values and i don't want it.</p>
  
  <p>thank you!</p>