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/HashMap

HashMap

scala.collection.immutable.HashMap
See theHashMap companion class
objectHashMap extendsMapFactory[HashMap]

This object provides a set of operations to createIterable values.

Attributes

Companion
class
Source
HashMap.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
HashMap.type

Members list

Value members

Concrete methods

defempty[K,V]:HashMap[K,V]

An empty Map

An empty Map

Attributes

Source
HashMap.scala
deffrom[K,V](source:IterableOnce[(K,V)]):HashMap[K,V]

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

Attributes

Source
HashMap.scala
defnewBuilder[K,V]:ReusableBuilder[(K,V),HashMap[K,V]]

Create a new Builder which can be reused after callingresult() without an intermediate call toclear() in order to build multiple related results.

Create a new Builder which can be reused after callingresult() without an intermediate call toclear() in order to build multiple related results.

Attributes

Source
HashMap.scala

Inherited methods

defapply[K,V](elems: (K,V)*):HashMap[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),HashMap[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