title: How to convert Java 8 map.remove to Java 1.6?
body: <p>I have the following:</p>
  
  <pre><code>     fruitMap.remove(fruitId, fruitProperties);
  </code></pre>
  
  <p>The fruitMap is:</p>
  
  <pre><code>private Map&lt;FruitId, FruitProperties&gt; fruitMap = new HashMap&lt;FruitId, FruitProperties&gt;();
  </code></pre>
  
  <p>When I attempt to build my code I get a:</p>
  
  <pre><code>ERROR
  The method remove(Object) in the type Map&lt;MyImplementation.FruitId, FruitProperties&gt;
  is not applicable for the arguments (Map&lt;MyImplementation.FruitId, FruitProperties&gt;)
  </code></pre>
  
  <p>What is the issue?</p>
  
  <p>Note that thiis call is inside of a method "removeFruit()" inside my "FruitImplementation" class.</p>