title: Scala convert List[Int] to a java.util.List[java.lang.Integer]
body: <p>Is there a way in <code>Scala</code> to convert a <code>List[Int]</code> to <code>java.util.List[java.lang.Integer]</code>?</p>
  
  <p>I'm interfacing with Java (Thrift).</p>
  
  <p><code>JavaConversions</code> supports <code>List --&gt; java.util.List</code>, and implicits exist between <code>Int --&gt; java.lang.Integer</code>, but from what I can tell I would still need an extra pass to manually do the conversion:</p>
  
  <pre><code>val y = List(1)     
  val z: java.util.List[Integer] = asList(y)  map { (x: Int) =&gt; x : java.lang.Integer }
  </code></pre>