ToScalaImplicits

@deprecated("Use `scala.jdk.CollectionConverters` instead", "2.13.0") trait ToScalaImplicits

Defines implicit converter methods from Java to Scala collections.

class Object
trait Matchable
class Any

Implicits

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.