title: Lambda expression to convert array/List of String to array/List of Integers
body: <p>Since Java 8 comes with powerful lambda expressions,</p>
  
  <p>I would like to write a function to convert a List/array of Strings to array/List of Integers, Floats, Doubles etc..</p>
  
  <p>In normal Java, it would be as simple as </p>
  
  <pre><code>for(String str : strList){
     intList.add(Integer.valueOf(str));
  }
  </code></pre>
  
  <p>But how do I achieve the same with a lambda, given an array of Strings to be converted to an array of Integers.</p>