Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.collection/scala.collection.convert/ImplicitConversionsToJava

ImplicitConversionsToJava

scala.collection.convert.ImplicitConversionsToJava

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

It is recommended to use explicit conversions provided bycollection.JavaConverters instead. Implicit conversions may cause unexpected issues, seeImplicitConversions.

Attributes

Deprecated
[Since version 2.13.0]Use `scala.jdk.CollectionConverters` instead
Source
ImplicitConversions.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Implicits

Inherited implicits

implicitdef`buffer AsJavaList`[A](b:Buffer[A]):List[A]

Implicitly converts a Scala mutableBuffer to a JavaList.

Implicitly converts a Scala mutableBuffer to a JavaList.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`collection asJava`[A](it:Iterable[A]):Collection[A]

Implicitly converts a ScalaIterable to an immutable JavaCollection.

Implicitly converts a ScalaIterable to an immutable JavaCollection.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`dictionary asJava`[K,V](m:Map[K,V]):Dictionary[K,V]

Implicitly converts a Scala mutableMap to a JavaDictionary.

Implicitly converts a Scala mutableMap to a JavaDictionary.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`enumeration asJava`[A](it:Iterator[A]):Enumeration[A]

Implicitly converts a ScalaIterator to a JavaEnumeration.

Implicitly converts a ScalaIterator to a JavaEnumeration.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`iterable asJava`[A](i:Iterable[A]):Iterable[A]

Implicitly converts a ScalaIterable to a JavaIterable.

Implicitly converts a ScalaIterable to a JavaIterable.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`iterator asJava`[A](it:Iterator[A]):Iterator[A]

Implicitly converts a ScalaIterator to a JavaIterator.

Implicitly converts a ScalaIterator to a JavaIterator.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`map AsJavaConcurrentMap`[K,V](m:Map[K,V]):ConcurrentMap[K,V]

Implicitly converts a Scala mutableconcurrent.Map to a JavaConcurrentMap.

Implicitly converts a Scala mutableconcurrent.Map to a JavaConcurrentMap.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`map AsJavaMap`[K,V](m:Map[K,V]):Map[K,V]

Implicitly converts a ScalaMap to a JavaMap.

Implicitly converts a ScalaMap to a JavaMap.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`mutableMap AsJavaMap`[K,V](m:Map[K,V]):Map[K,V]

Implicitly converts a Scala mutableMap to a JavaMap.

Implicitly converts a Scala mutableMap to a JavaMap.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`mutableSeq AsJavaList`[A](seq:Seq[A]):List[A]

Implicitly converts a Scala mutableSeq to a JavaList.

Implicitly converts a Scala mutableSeq to a JavaList.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`mutableSet AsJavaSet`[A](s:Set[A]):Set[A]

Implicitly converts a Scala mutableSet to a JavaSet.

Implicitly converts a Scala mutableSet to a JavaSet.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`seq AsJavaList`[A](seq:Seq[A]):List[A]

Implicitly converts a ScalaSeq to a JavaList.

Implicitly converts a ScalaSeq to a JavaList.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
implicitdef`set AsJavaSet`[A](s:Set[A]):Set[A]

Implicitly converts a ScalaSet to a JavaSet.

Implicitly converts a ScalaSet to a JavaSet.

Attributes

See also
Inherited from:
ToJavaImplicits
Source
ImplicitConversions.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp