Trait for bringing in implicit SCastConverters for converting between Java and immutable Scala collections.
Trait for bringing in implicit SCastConverters for converting between Java and immutable Scala collections. Importing com.daodecode.scalaj.collection.immutable._ will bring them in the scope.
converter for converting Java JList to immutable Scala scala.collection.immutable.Seq.
Given converter
used to convert elements of Java list
converter for converting Java JMap to immutable Scala scala.collection.immutable.Map.
Given converters
used to convert keys and values of Java map
converter for converting Java JSet to immutable Scala scala.collection.immutable.Set.
Given converter
used to convert elements of Java set
Importing
com.daodecode.scalaj.collection.immutable._
allows to use "extension" methods deepAsScalaImmutable, which convert all supported nested Java collections to immutable versions of corresponding Scala collections as well as primitive wrappers.