Related to Stack Overflow question Scala equivalent of new HashSet(Collection) , how do I convert a Java collection (java.util.List say) into a Scala c
java.util.List
You could convert the Java collection to an array and then create a Scala list from that:
val array = java.util.Arrays.asList("one","two","three").toArray val list = List.fromArray(array)