I am learning Scala and I have a Java project to migrate to Scala. I want to migrate it by rewriting classes one-by-one and checking that new class didn\'t break the project
With Scala 2.8, it could be done like this:
import scala.collection.JavaConversions._ val list = new java.util.ArrayList[String]() list.add("test") val scalaList = list.toList