Packages

o

scala.collection.convert

ImplicitConversionsToScala

object ImplicitConversionsToScala extends ToScalaImplicits

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.

Source
ImplicitConversions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImplicitConversionsToScala
  2. ToScalaImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def collection AsScalaIterable[A](i: Collection[A]): Iterable[A]

    Implicitly converts a Java Collection to an Scala Iterable.

    Implicitly converts a Java Collection to an Scala Iterable.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.collectionAsScalaIterable

  2. implicit def dictionary AsScalaMap[A, B](p: Dictionary[A, B]): mutable.Map[A, B]

    Implicitly converts a Java Dictionary to a Scala mutable Map.

    Implicitly converts a Java Dictionary to a Scala mutable Map.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.dictionaryAsScalaMap

  3. implicit def enumeration AsScalaIterator[A](i: java.util.Enumeration[A]): Iterator[A]

    Implicitly converts a Java Enumeration to a Scala Iterator.

    Implicitly converts a Java Enumeration to a Scala Iterator.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.enumerationAsScalaIterator

  4. implicit def iterable AsScalaIterable[A](i: java.lang.Iterable[A]): Iterable[A]

    Implicitly converts a Java Iterable to a Scala Iterable.

    Implicitly converts a Java Iterable to a Scala Iterable.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.iterableAsScalaIterable

  5. implicit def iterator asScala[A](it: java.util.Iterator[A]): Iterator[A]

    Implicitly converts a Java Iterator to a Scala Iterator.

    Implicitly converts a Java Iterator to a Scala Iterator.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.asScalaIterator

  6. implicit def list asScalaBuffer[A](l: java.util.List[A]): Buffer[A]

    Implicitly converts a Java List to a Scala mutable Buffer.

    Implicitly converts a Java List to a Scala mutable Buffer.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.asScalaBuffer

  7. implicit def map AsScala[A, B](m: java.util.Map[A, B]): mutable.Map[A, B]

    Implicitly converts a Java Map to a Scala mutable Map.

    Implicitly converts a Java Map to a Scala mutable Map.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.mapAsScalaMap

  8. implicit def map AsScalaConcurrentMap[A, B](m: ConcurrentMap[A, B]): concurrent.Map[A, B]

    Implicitly converts a Java ConcurrentMap to a Scala mutable ConcurrentMap.

    Implicitly converts a Java ConcurrentMap to a Scala mutable ConcurrentMap.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.mapAsScalaConcurrentMap

  9. implicit def properties AsScalaMap(p: Properties): mutable.Map[String, String]

    Implicitly converts a Java Properties to a Scala mutable Map[String, String].

    Implicitly converts a Java Properties to a Scala mutable Map[String, String].

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.propertiesAsScalaMap

  10. implicit def set asScala[A](s: java.util.Set[A]): mutable.Set[A]

    Implicitly converts a Java Set to a Scala mutable Set.

    Implicitly converts a Java Set to a Scala mutable Set.

    Definition Classes
    ToScalaImplicits
    See also

    AsScalaConverters.asScalaSet