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.immutable/Map

Map

scala.collection.immutable.Map
See theMap companion trait
objectMap extendsMapFactory[Map]

This object provides a set of operations to createIterable values.

Attributes

Companion
trait
Source
Map.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
Map.type

Members list

Type members

Classlikes

finalclassMap1[K,+V](key1:K,value1:V) extendsAbstractMap[K,V],StrictOptimizedIterableOps[(K,V),Iterable,Map[K,V]],Serializable

Attributes

Source
Map.scala
Supertypes
classAbstractMap[K,V]
traitMap[K,V]
traitMapOps[K,V,Map,Map[K,V]]
traitIterable[(K,V)]
classAbstractMap[K,V]
traitMap[K,V]
traitEquals
traitMapOps[K,V,Map,Map[K,V]]
traitPartialFunction[K,V]
traitK=>V
classAbstractIterable[(K,V)]
traitIterable[(K,V)]
traitIterableOps[(K,V),Iterable,Map[K,V]]
traitIterableOnceOps[(K,V),Iterable,Map[K,V]]
traitIterableOnce[(K,V)]
classObject
traitMatchable
classAny
Show all
finalclassMap2[K,+V](key1:K,value1:V,key2:K,value2:V) extendsAbstractMap[K,V],StrictOptimizedIterableOps[(K,V),Iterable,Map[K,V]],Serializable

Attributes

Source
Map.scala
Supertypes
classAbstractMap[K,V]
traitMap[K,V]
traitMapOps[K,V,Map,Map[K,V]]
traitIterable[(K,V)]
classAbstractMap[K,V]
traitMap[K,V]
traitEquals
traitMapOps[K,V,Map,Map[K,V]]
traitPartialFunction[K,V]
traitK=>V
classAbstractIterable[(K,V)]
traitIterable[(K,V)]
traitIterableOps[(K,V),Iterable,Map[K,V]]
traitIterableOnceOps[(K,V),Iterable,Map[K,V]]
traitIterableOnce[(K,V)]
classObject
traitMatchable
classAny
Show all
classMap3[K,+V](key1:K,value1:V,key2:K,value2:V,key3:K,value3:V) extendsAbstractMap[K,V],StrictOptimizedIterableOps[(K,V),Iterable,Map[K,V]],Serializable

Attributes

Source
Map.scala
Supertypes
classAbstractMap[K,V]
traitMap[K,V]
traitMapOps[K,V,Map,Map[K,V]]
traitIterable[(K,V)]
classAbstractMap[K,V]
traitMap[K,V]
traitEquals
traitMapOps[K,V,Map,Map[K,V]]
traitPartialFunction[K,V]
traitK=>V
classAbstractIterable[(K,V)]
traitIterable[(K,V)]
traitIterableOps[(K,V),Iterable,Map[K,V]]
traitIterableOnceOps[(K,V),Iterable,Map[K,V]]
traitIterableOnce[(K,V)]
classObject
traitMatchable
classAny
Show all
finalclassMap4[K,+V](key1:K,value1:V,key2:K,value2:V,key3:K,value3:V,key4:K,value4:V) extendsAbstractMap[K,V],StrictOptimizedIterableOps[(K,V),Iterable,Map[K,V]],Serializable

Attributes

Source
Map.scala
Supertypes
classAbstractMap[K,V]
traitMap[K,V]
traitMapOps[K,V,Map,Map[K,V]]
traitIterable[(K,V)]
classAbstractMap[K,V]
traitMap[K,V]
traitEquals
traitMapOps[K,V,Map,Map[K,V]]
traitPartialFunction[K,V]
traitK=>V
classAbstractIterable[(K,V)]
traitIterable[(K,V)]
traitIterableOps[(K,V),Iterable,Map[K,V]]
traitIterableOnceOps[(K,V),Iterable,Map[K,V]]
traitIterableOnce[(K,V)]
classObject
traitMatchable
classAny
Show all
classWithDefault[K,+V](valunderlying:Map[K,V],valdefaultValue:K=>V) extendsAbstractMap[K,V],MapOps[K,V,Map,WithDefault[K,V]],Serializable

Attributes

Source
Map.scala
Supertypes
classAbstractMap[K,V]
traitMap[K,V]
traitMapOps[K,V,Map,WithDefault[K,V]]
traitIterable[(K,V)]
classAbstractMap[K,V]
traitMap[K,V]
traitEquals
traitMapOps[K,V,Map,WithDefault[K,V]]
traitPartialFunction[K,V]
traitK=>V
classAbstractIterable[(K,V)]
traitIterable[(K,V)]
traitIterableOps[(K,V),Iterable,WithDefault[K,V]]
traitIterableOnce[(K,V)]
classObject
traitMatchable
classAny
Show all
Known subtypes
classWithDefault[K,V]

Value members

Concrete methods

defempty[K,V]:Map[K,V]

An empty Map

An empty Map

Attributes

Source
Map.scala
deffrom[K,V](it:IterableOnce[(K,V)]):Map[K,V]

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

Attributes

Source
Map.scala
defnewBuilder[K,V]:Builder[(K,V),Map[K,V]]

The default builder for Map objects.

The default builder for Map objects.

Attributes

Source
Map.scala

Inherited methods

defapply[K,V](elems: (K,V)*):Map[K,V]

A collection of type Map that contains given key/value bindings.

A collection of type Map that contains given key/value bindings.

Attributes

Inherited from:
MapFactory
Source
Factory.scala

Implicits

Inherited implicits

implicitdefmapFactory[K,V]:Factory[(K,V),Map[K,V]]

The default Factory instance for maps.

The default Factory instance for maps.

Attributes

Inherited from:
MapFactory
Source
Factory.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp