title: How to iterate through list of hashmap data
body: <p>I have list of hashmap. I want to iterate through the data. Kindly help me with an example.
  I have a table where I have months on Y axis and the fields like( MS_Target, HSD_Target, ALPG_Target, Lube_Target) on X axis.
  My code is as follows:</p>
  
  <pre><code> List&lt;Map&lt;String, Integer&gt;&gt; ListofHash = new ArrayList&lt;Map&lt;String, Integer&gt;&gt;();
  
          {
  
          for (int i = 0; i &lt; 10; i++) 
            {
            Map&lt;String, Integer&gt; mMap = new HashMap&lt;String, Integer&gt;();
  
            mMap.put(String.valueOf(i), Integer.valueOf( + i));
  
            ListofHash.add(mMap); 
             }
        for (Map&lt;String, Integer&gt; map : ListofHash)
              {
              for (String key : map.keySet())
               {
                 System.out.println(map.get(key));
            }
        }
  
  HashMap &lt;String,Integer&gt; april= new HashMap &lt;String,Integer&gt;();
  
      april.put("aprMS",new Integer(1));
      april.put("aprHSD",new Integer(2));
      april.put("aprAlpg",new Integer(3));
      april.put("aprLubes",new Integer(4));
  
  HashMap &lt;String, Integer&gt; may= new HashMap &lt;String, Integer&gt;();
  
      may.put("mayMS",new Integer(1));
      may.put("mayHSD",new Integer(2));
      may.put("mayAlpg",new Integer(3));
      may.put("mayLubes",new Integer(4));
  
  }
  </code></pre>
  
  <p>Likewise I have created hashmap for all months.
  Also, kindly suggest me what key and value should I take.
  Please help me out with an example. 
  I have given unique names to all the fields.
  eg: apr_MS , apr_HSD etc.
  My Table is as follows:</p>
  
  <pre><code>Month         MS_Target     HSD_Target     ALPG_Target        Lubes_Target
  April
  May 
  June
  July 
  August
  September
  October
  November
  December
  January
  February 
  March
  </code></pre>