Trait ToScalaImplicits.ToScalaImplicits
Source code


trait ToScalaImplicits


Defines implicit converter methods from Java to Scala collections.


Deprecated



Supertypes

class Object

trait Matchable

class Any




Known subtypes

object ImplicitConversions.type
object ImplicitConversionsToScala.type



Implicits

Source
implicit def `collection AsScalaIterable`[A](i: Collection[A]): Iterable[A]


Implicitly converts a Java Collection to an Scala Iterable.

See also
JavaConverters.collectionAsScalaIterable


Source
implicit def `dictionary AsScalaMap`[K, V](p: Dictionary[K, V]): Map[K, V]


Implicitly converts a Java Dictionary to a Scala mutable Map.

See also
JavaConverters.dictionaryAsScalaMap


Source
implicit def `enumeration AsScalaIterator`[A](i: Enumeration[A]): Iterator[A]


Implicitly converts a Java Enumeration to a Scala Iterator.

See also
JavaConverters.enumerationAsScalaIterator


Source
implicit def `iterable AsScalaIterable`[A](i: Iterable[A]): Iterable[A]


Implicitly converts a Java Iterable to a Scala Iterable.

See also
JavaConverters.iterableAsScalaIterable


Source
implicit def `iterator asScala`[A](it: Iterator[A]): Iterator[A]


Implicitly converts a Java Iterator to a Scala Iterator.

See also
JavaConverters.asScalaIterator


Source
implicit def `list asScalaBuffer`[A](l: List[A]): Buffer[A]


Implicitly converts a Java List to a Scala mutable Buffer.

See also
JavaConverters.asScalaBuffer


Source
implicit def `map AsScalaConcurrentMap`[K, V](m: ConcurrentMap[K, V]): Map[K, V]


Implicitly converts a Java ConcurrentMap to a Scala mutable ConcurrentMap.

See also
JavaConverters.mapAsScalaConcurrentMap


Source
implicit def `map AsScala`[K, V](m: Map[K, V]): Map[K, V]


Implicitly converts a Java Map to a Scala mutable Map.

See also
JavaConverters.mapAsScalaMap


Source
implicit def `properties AsScalaMap`(p: Properties): Map[String, String]


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

See also
JavaConverters.propertiesAsScalaMap


Source
implicit def `set asScala`[A](s: Set[A]): Set[A]


Implicitly converts a Java Set to a Scala mutable Set.

See also
JavaConverters.asScalaSet


    
{'path': 'public/docs/scala~3.2/scala/collection/convert/toscalaimplicits.html', 'source': 'DevDocs.IO'}