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.mutable/AnyRefMap

AnyRefMap

scala.collection.mutable.AnyRefMap
See theAnyRefMap companion class
objectAnyRefMap

Attributes

Companion
class
Deprecated
[Since version 2.13.16]Use `scala.collection.mutable.HashMap` instead for better performance.
Source
AnyRefMap.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Type members

Classlikes

finalclassAnyRefMapBuilder[K <:AnyRef,V] extendsReusableBuilder[(K,V),AnyRefMap[K,V]]

A builder for instances ofAnyRefMap.

A builder for instances ofAnyRefMap.

This builder can be reused to create multiple instances.

Attributes

Source
AnyRefMap.scala
Supertypes
traitReusableBuilder[(K,V),AnyRefMap[K,V]]
traitBuilder[(K,V),AnyRefMap[K,V]]
traitGrowable[(K,V)]
traitClearable
classObject
traitMatchable
classAny
Show all

Value members

Concrete methods

defapply[K <:AnyRef,V](elems: (K,V)*):AnyRefMap[K,V]

Creates a newAnyRefMap with zero or more key/value pairs.

Creates a newAnyRefMap with zero or more key/value pairs.

Attributes

Source
AnyRefMap.scala
defempty[K <:AnyRef,V]:AnyRefMap[K,V]

Creates a new emptyAnyRefMap.

Creates a new emptyAnyRefMap.

Attributes

Source
AnyRefMap.scala
deffrom[K <:AnyRef,V](source:IterableOnce[(K,V)]):AnyRefMap[K,V]

Creates a newAnyRefMap from an existing source collection.

Creates a newAnyRefMap from an existing source collection. A source collection which is already anAnyRefMap gets cloned.

Type parameters

K

the type of the keys

V

the type of the values

Value parameters

source

Source collection

Attributes

Returns

a newAnyRefMap with the elements ofsource

Source
AnyRefMap.scala
deffromZip[K <:AnyRef,V](keys:Array[K],values:Array[V]):AnyRefMap[K,V]

Creates a newAnyRefMap from arrays of keys and values.

Creates a newAnyRefMap from arrays of keys and values. Equivalent to but more efficient thanAnyRefMap((keys zip values): _*).

Attributes

Source
AnyRefMap.scala
deffromZip[K <:AnyRef,V](keys:Iterable[K],values:Iterable[V]):AnyRefMap[K,V]

Creates a newAnyRefMap from keys and values.

Creates a newAnyRefMap from keys and values. Equivalent to but more efficient thanAnyRefMap((keys zip values): _*).

Attributes

Source
AnyRefMap.scala

Attributes

Source
AnyRefMap.scala
defwithDefault[K <:AnyRef,V](default:K=>V):AnyRefMap[K,V]

Creates a new emptyAnyRefMap with the supplied default

Creates a new emptyAnyRefMap with the supplied default

Attributes

Source
AnyRefMap.scala

Implicits

Implicits

implicitdefbuildFromAnyRefMap[K <:AnyRef,V]:BuildFrom[AnyRefMap[_,_], (K,V),AnyRefMap[K,V]]

Attributes

Source
AnyRefMap.scala
implicitdefiterableFactory[K <:AnyRef,V]:Factory[(K,V),AnyRefMap[K,V]]

Attributes

Source
AnyRefMap.scala
implicitdeftoBuildFrom[K <:AnyRef,V](factory:AnyRefMap.type):BuildFrom[Any, (K,V),AnyRefMap[K,V]]

Attributes

Source
AnyRefMap.scala
implicitdeftoFactory[K <:AnyRef,V](dummy:AnyRefMap.type):Factory[(K,V),AnyRefMap[K,V]]

Attributes

Source
AnyRefMap.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp