Packages

package convert

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AsJavaConverters extends AnyRef

    Defines converter methods from Scala to Java collections.

    Defines converter methods from Scala to Java collections. These methods are available through the scala.jdk.javaapi.CollectionConverters object.

  2. trait AsJavaExtensions extends AnyRef

    Defines asJava extension methods, available through scala.jdk.CollectionConverters.

  3. trait AsScalaConverters extends AnyRef

    Defines converter methods from Java to Scala collections.

    Defines converter methods from Java to Scala collections. These methods are available through the scala.jdk.javaapi.CollectionConverters object.

  4. trait AsScalaExtensions extends AnyRef

    Defines asScala extension methods, available through scala.jdk.CollectionConverters.

  5. trait StreamExtensions extends AnyRef

    Defines extension methods to create Java Streams for Scala collections, available through scala.jdk.javaapi.StreamConverters.

Deprecated Type Members

  1. trait ToJavaImplicits extends AnyRef

    Defines implicit conversions from Scala to Java collections.

    Defines implicit conversions from Scala to Java collections.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scala.jdk.CollectionConverters instead

  2. trait ToScalaImplicits extends AnyRef

    Defines implicit converter methods from Java to Scala collections.

    Defines implicit converter methods from Java to Scala collections.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scala.jdk.CollectionConverters instead

Value Members

  1. object StreamExtensions

Deprecated Value Members

  1. object ImplicitConversions extends ToScalaImplicits with ToJavaImplicits

    Convenience for miscellaneous implicit conversions between Java and Scala collections API.

    Convenience for miscellaneous implicit conversions between Java and Scala collections API.

    It is recommended to use explicit conversions provided by collection.JavaConverters instead. Implicit conversions may cause unexpected issues. Example:

    import collection.convert.ImplicitConversions._
    case class StringBox(s: String)
    val m = Map(StringBox("one") -> "uno")
    m.get("one")

    The above example returns null instead of producing a type error at compile-time. The map is implicitly converted to a java.util.Map which provides a method get(x: AnyRef).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scala.jdk.CollectionConverters instead

  2. object ImplicitConversionsToJava extends ToJavaImplicits

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

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scala.jdk.CollectionConverters instead

  3. object ImplicitConversionsToScala extends ToScalaImplicits

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

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scala.jdk.CollectionConverters instead

Ungrouped