title: Putting a HashMap inside a HashMap then populating the two maps.
body: <p>I have to write a script for sql inserts.  I have all the information that I need in order to write the inserts but there are three different pieces of information that I'm using and not just two.  I know that I have to put a Map inside a Map but I am getting a compile error when I try to put anything into the maps.  </p>
  
  <pre><code>HashMap&lt;String,String&gt; acctyp = new HashMap&lt;String,String&gt;();
  HashMap&lt;String, HashMap&lt;String,String&gt;&gt; gens = new HashMap&lt;String,HashMap&lt;String,String&gt;&gt;();
  gens.put("'GEN01'", acctyp.put("'Open'","ACCTYP 01"));
  gens.put("'GEN02'", acctyp.put("'Sheltered'","ACCTYP 02"));
  gens.put("'GEN03'", acctyp.put("'Spousal sheltered'","ACCTYP 03"));
  gens.put("'GEN06'", acctyp.put("'Education'","ACCTYP 06"));
  gens.put("'GEN12'", acctyp.put("'Non-ded. sheltered'","ACCTYP 12"));
  gens.put("'GEN30'", acctyp.put("'Structured Product'","ACCTYP 30"));
  gens.put("'GEN31'", acctyp.put("'Emergency Cash'","ACCTYP 31"));
  gens.put("'GEN85'", acctyp.put("'Insurance Savings'","ACCTYP 85"));
  gens.put("'GEN86'", acctyp.put("'Stock Option'","ACCTYP 86"));
  gens.put("'GEN94'", acctyp.put("'Business Other'","ACCTYP 94"));
  gens.put("'GEN95'", acctyp.put("'Personal use'","ACCTYP 95"));
  gens.put("'GEN97'", acctyp.put("'Universal Life'","ACCTYP 97"));
  </code></pre>
  
  <p>If anyone has any insight of why I'm getting a compile error on the puts then it would be greatly appreciated. </p>