Packages

package convert

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. convert
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsJavaConverters extends AnyRef

    Defines converter methods from Scala to Java collections.

  2. trait AsScalaConverters extends AnyRef

    Defines converter methods from Java to Scala collections.

  3. trait DecorateAsJava extends AsJavaConverters

    Defines asJava extension methods for JavaConverters.

  4. trait DecorateAsScala extends AsScalaConverters

    Defines asScala extension methods for JavaConverters.

  5. trait ToJavaImplicits extends AnyRef

    Defines implicit conversions from Scala to Java collections.

  6. trait ToScalaImplicits extends AnyRef

    Defines implicit converter methods from Java to Scala collections.

  7. trait WrapAsJava extends LowPriorityWrapAsJava
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ToJavaImplicits

  8. trait WrapAsScala extends LowPriorityWrapAsScala
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ToScalaImplicits

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).

  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.

  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.

  4. object Wrappers extends Wrappers with Serializable
    Annotations
    @SerialVersionUID()

Deprecated Value Members

  1. val decorateAll: JavaConverters.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters

  2. val decorateAsJava: DecorateAsJava
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters

  3. val decorateAsScala: DecorateAsScala
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters

  4. val wrapAll: WrapAsJava with WrapAsScala
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ImplicitConversions

  5. val wrapAsJava: WrapAsJava
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ImplicitConversionsToJava

  6. val wrapAsScala: WrapAsScala
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ImplicitConversionsToScala

  7. object WrapAsJava extends WrapAsJava
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ImplicitConversionsToJava

  8. object WrapAsScala extends WrapAsScala
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use JavaConverters or consider ImplicitConversionsToScala

Inherited from AnyRef

Inherited from Any

Ungrouped