title: Add HashMap to another HashMap
body: <p>When i try to add hashMap to another HashMap i lose old varaible. How can i fix this problem? My code is something like that.</p>
  
  <pre><code>HashMap&lt;String, String&gt; tmp = new HashMap&lt;String, String&gt;();
  HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
  
  tmp = ((HashMap&lt;String, String&gt;)intent.getSerializableExtra("map"));
  map.putAll(tmp);
  </code></pre>
  
  <p>when i use this code map elements always equals tmp elements. It is not stored old elements.</p>
  
  <p>Thanks for help.</p>