JavaConversions
object contains many implicit conversions between Scala->Java and Java->Scala collections. When you import all members of JavaConversions
, all of those conversions are put in the current scope, and are therefore evaluated when an immediate collection type isn't available.
For example, when Scala compiler is looking for a collection of type X
and cannot find it, it will also try to find a collection of type Y
and an implicit conversion Y to X
in scope.
To understand more about how the conversions are evaluated, see this answer.