title: Convert List of String to List of BigDecimal in java
body: <p>I'm facing a problem in converting a list of String to list of Bigdecimal in java. </p>
  
  <p>I have a List of String like,</p>
  
  <pre><code>List&lt;String&gt; stringList = new LinkedList&lt;String&gt;();
  stringList.add("123");
  stringList.add("456");
  stringList.add("789");
  </code></pre>
  
  <p>and BigDecimal List as</p>
  
  <pre><code>List&lt;BigDecimal&gt; bigDecimalList = new LinkedList&lt;BigDecimal&gt;();
  </code></pre>
  
  <p>Now I want to convert <code>stringList</code> to <code>bigDecimalList</code>. I know we can iterate through the <code>stringList</code> and can add to <code>bigDecimalList</code> using <code>new BigDecimal(string)</code>. Is there any other work around than looping???</p>
  
  <p>Any help is appreciated. Thanks.</p>