ImplicitConversionsToScala

@deprecated("Use `scala.jdk.CollectionConverters` instead", "2.13.0") object ImplicitConversionsToScala extends ToScalaImplicits

Convenience for miscellaneous implicit conversions from Java to Scala collections API.

It is recommended to use explicit conversions provided by collection.JavaConverters instead. Implicit conversions may cause unexpected issues, see ImplicitConversions.

class Object
trait Matchable
class Any

Implicits

Inherited implicits

Implicitly converts a Java Collection to an Scala Iterable.

implicit def `dictionary AsScalaMap`[K, V](p: Dictionary[K, V]): Map[K, V]

Implicitly converts a Java Dictionary to a Scala mutable Map.

Implicitly converts a Java Enumeration to a Scala Iterator.

implicit def `iterable AsScalaIterable`[A](i: Iterable[A]): Iterable[A]

Implicitly converts a Java Iterable to a Scala Iterable.

implicit def `iterator asScala`[A](it: Iterator[A]): Iterator[A]

Implicitly converts a Java Iterator to a Scala Iterator.

implicit def `list asScalaBuffer`[A](l: List[A]): Buffer[A]

Implicitly converts a Java List to a Scala mutable Buffer.

implicit def `map AsScalaConcurrentMap`[K, V](m: ConcurrentMap[K, V]): Map[K, V]

Implicitly converts a Java ConcurrentMap to a Scala mutable ConcurrentMap.

implicit def `map AsScala`[K, V](m: Map[K, V]): Map[K, V]

Implicitly converts a Java Map to a Scala mutable Map.

Implicitly converts a Java Properties to a Scala mutable Map[String, String].

implicit def `set asScala`[A](s: Set[A]): Set[A]

Implicitly converts a Java Set to a Scala mutable Set.