title: How to create and push dynamic elements in HashMap
body: <pre><code>static Map&lt;Integer,HashMap&lt;String,HashMap&lt;String,String&gt;&gt;&gt; maps = new HashMap&lt;Integer, HashMap&lt;String,HashMap&lt;String,String&gt;&gt;&gt;();
  </code></pre>
  
  <p>I want to insert the elements inside the HashMap I declared above , the inner most hashmap has values ready which I can use , now I am using it like , </p>
  
  <pre><code>static Map&lt;String,String&gt; values = new HashMap&lt;String, String&gt;();
  
  maps.put(1, new HashMap&lt;&lt;new String("")&gt;, values&gt;());
  </code></pre>
  
  <p>How can I achieve this ?</p>