ImplicitConversionsToJava

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

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

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

Deprecated
Source
ImplicitConversions.scala
class Object
trait Matchable
class Any

Implicits

Inherited implicits

implicit def `buffer AsJavaList`[A](b: Buffer[A]): List[A]

Implicitly converts a Scala mutable Buffer to a Java List.

Implicitly converts a Scala mutable Buffer to a Java List.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `collection asJava`[A](it: Iterable[A]): Collection[A]

Implicitly converts a Scala Iterable to an immutable Java Collection.

Implicitly converts a Scala Iterable to an immutable Java Collection.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `dictionary asJava`[K, V](m: Map[K, V]): Dictionary[K, V]

Implicitly converts a Scala mutable Map to a Java Dictionary.

Implicitly converts a Scala mutable Map to a Java Dictionary.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `enumeration asJava`[A](it: Iterator[A]): Enumeration[A]

Implicitly converts a Scala Iterator to a Java Enumeration.

Implicitly converts a Scala Iterator to a Java Enumeration.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `iterable asJava`[A](i: Iterable[A]): Iterable[A]

Implicitly converts a Scala Iterable to a Java Iterable.

Implicitly converts a Scala Iterable to a Java Iterable.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `iterator asJava`[A](it: Iterator[A]): Iterator[A]

Implicitly converts a Scala Iterator to a Java Iterator.

Implicitly converts a Scala Iterator to a Java Iterator.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `map AsJavaConcurrentMap`[K, V](m: Map[K, V]): ConcurrentMap[K, V]

Implicitly converts a Scala mutable concurrent.Map to a Java ConcurrentMap.

Implicitly converts a Scala mutable concurrent.Map to a Java ConcurrentMap.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `map AsJavaMap`[K, V](m: Map[K, V]): Map[K, V]

Implicitly converts a Scala Map to a Java Map.

Implicitly converts a Scala Map to a Java Map.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `mutableMap AsJavaMap`[K, V](m: Map[K, V]): Map[K, V]

Implicitly converts a Scala mutable Map to a Java Map.

Implicitly converts a Scala mutable Map to a Java Map.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `mutableSeq AsJavaList`[A](seq: Seq[A]): List[A]

Implicitly converts a Scala mutable Seq to a Java List.

Implicitly converts a Scala mutable Seq to a Java List.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `mutableSet AsJavaSet`[A](s: Set[A]): Set[A]

Implicitly converts a Scala mutable Set to a Java Set.

Implicitly converts a Scala mutable Set to a Java Set.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `seq AsJavaList`[A](seq: Seq[A]): List[A]

Implicitly converts a Scala Seq to a Java List.

Implicitly converts a Scala Seq to a Java List.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala
implicit def `set AsJavaSet`[A](s: Set[A]): Set[A]

Implicitly converts a Scala Set to a Java Set.

Implicitly converts a Scala Set to a Java Set.

See also
Inherited from
ToJavaImplicits
Source
ImplicitConversions.scala