HashMap inside an Arraylist
<pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; 
arrayListRowsFirst = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
</code></pre>

<p>Today when i was going through a code, this piece of code struck me for a while. Here are some of my questions over this declaration.</p>

<ol>
<li>What could be the requirement if one has to append an HashMap into an ArrayList.</li>
<li>What will happen during sorting of arraylist, how it will go, will it take long time.</li>
</ol>
