Created
November 28, 2014 18:10
-
-
Save KamilLelonek/6266b1a4d5d5c05d7cb2 to your computer and use it in GitHub Desktop.
Using JavaConversions in Scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> import scala.collection.JavaConversions._ | |
import scala.collection.JavaConversions._ | |
scala> val javaList: java.util.List[Int] = scalaList | |
javaList: java.util.List[Int] = [1, 2, 3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment