retrieving the arraylist from inside map
<p>I have an query , I have an array list that conatain different arraylist inside as shown below</p>

<pre><code>List&lt;abcInfo&gt; abcabcdata = new ArrayList&lt;abcInfo&gt;(); //first arraylist

abcInfo abcdeed = new abcInfo();
        abcdeed.setHeader("AAAA");
        abcdeed.setabcdata(getNormalFuturesFeedList()); //List&lt;FuturesFeedObject&gt; it contains another arraylist
        abcabcdata.add(abcdeed);

        abcInfo abcdgen= new abcInfo();
        abcdgen.setHeader("BBBB");
        abcdgen.setabcdata(getabcdgenList()); //this method reurn arraylist, it contains list inside another arraylist
        abcabcdata.add(abcdgen);
</code></pre>

<p>Now the query is I am putting the final list in a map, so reportmap is itself an arraylist that contain two different arraylist inside it </p>

<pre><code>HashMap&lt;String, Object&gt; abcdata = new HashMap&lt;String, Object&gt;();
        abcdata.put("YTRE", abcabcdata);
</code></pre>

<p>And finally I am retieving this array list on the basis of key</p>

<pre><code>List&lt;abcInfo&gt; listWDownNoticesInfo = (ArrayList&lt;abcInfo&gt;)abcdata.get("YTRE");
</code></pre>

<p>Now my query is that I have to make a count of those whose header was AAAA and count of those whose header was Payment in BBBB please advise how to achieve this.</p>
