ImplicitConversionsToJava (original) (raw)

scala.collection.convert.ImplicitConversionsToJava

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.

Attributes

Deprecated

[Since version 2.13.0] Use `scala.jdk.CollectionConverters` instead

Source

ImplicitConversions.scala

Graph

Supertypes

Self type

Members list

Implicitly converts a Scala mutable Buffer to a Java List.

Implicitly converts a Scala Iterable to an immutable Java Collection.

Implicitly converts a Scala mutable Map to a Java Dictionary.

Implicitly converts a Scala Iterator to a Java Enumeration.

Implicitly converts a Scala Iterable to a Java Iterable.

Implicitly converts a Scala Iterator to a Java Iterator.

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

Implicitly converts a Scala Map to a Java Map.

Implicitly converts a Scala mutable Map to a Java Map.

Implicitly converts a Scala mutable Seq to a Java List.

Implicitly converts a Scala mutable Set to a Java Set.

Implicitly converts a Scala Seq to a Java List.

Implicitly converts a Scala Set to a Java Set.

In this article