title: Java 8 Streams parsing to Integer
body: <p>Does it exist better way to parse String to Integer using stream than this :</p>
  
  <pre><code> String line = "1 2 3 4 5";
  List&lt;Integer&gt; elements = Arrays.stream(line.split(" ")).mapToInt(x -&gt; Integer.parseInt(x))
      .boxed().collect(Collectors.toList());
  </code></pre>