title: The best way to transform int[] to List<Integer> in Java?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/157944/how-to-create-arraylist-arraylistt-from-array-t-in-java">How to create ArrayList (ArrayList&lt;T&gt;) from array (T[]) in Java</a>  </p>
  </blockquote>
  
  
  
  <p>How to implement this method:</p>
  
  <pre><code>List&lt;Integer&gt; toList(int[] integers) {
      ???
      //return Arrays.asList(integers); doesn't work
  }
  </code></pre>