ArrayList<Hashmap<String,Double[]> assigning the values to a single Double[]
<p>I am able to assign the Hash-map values to List double[] using following code, but for each entry in the Hash-map, it is creating separate array.</p>

<pre><code> ArrayList&lt;HashMap&lt;String, Double[]&gt;&gt; arl =(ArrayList&lt;HashMap&lt;String, Double[]&gt;&gt;)pd.getArrayList();

 while (itr.hasNext()) {
     HashMap&lt; String,Double[]&gt; map = (HashMap&lt;String,Double[]&gt;) itr.next();
     empid.add((Double[])map.get("id"));
 }
</code></pre>

<p>How do I get all the entries into single array of double[].</p>
