How do you convert from a List to a primitive array of a different type
<p>How do you convert from a List to an array of a different type (e.g. I would like to go from <code>List&lt;Integer&gt; to double[]</code>)</p>
