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

LongMap

scala.collection.mutable.LongMap
See theLongMap companion class
objectLongMap

Attributes

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

Members list

Type members

Classlikes

finalclassLongMapBuilder[V] extendsReusableBuilder[(Long,V),LongMap[V]]

A builder for instances ofLongMap.

A builder for instances ofLongMap.

This builder can be reused to create multiple instances.

Attributes

Source
LongMap.scala
Supertypes
traitBuilder[(Long,V),LongMap[V]]
traitGrowable[(Long,V)]
traitClearable
classObject
traitMatchable
classAny
Show all

Value members

Concrete methods

defapply[V](elems: (Long,V)*):LongMap[V]

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

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

Attributes

Source
LongMap.scala
defempty[V]:LongMap[V]

Creates a new emptyLongMap.

Creates a new emptyLongMap.

Attributes

Source
LongMap.scala
deffrom[V](source:IterableOnce[(Long,V)]):LongMap[V]

Creates a newLongMap from an existing source collection.

Creates a newLongMap from an existing source collection. A source collection which is already aLongMap gets cloned.

Type parameters

A

the type of the collection’s elements

Value parameters

source

Source collection

Attributes

Returns

a newLongMap with the elements ofsource

Source
LongMap.scala
deffromZip[V](keys:Array[Long],values:Array[V]):LongMap[V]

Creates a newLongMap from arrays of keys and values.

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

Attributes

Source
LongMap.scala
deffromZip[V](keys:Iterable[Long],values:Iterable[V]):LongMap[V]

Creates a newLongMap from keys and values.

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

Attributes

Source
LongMap.scala

Attributes

Source
LongMap.scala
defwithDefault[V](default:Long=>V):LongMap[V]

Creates a new emptyLongMap with the supplied default

Creates a new emptyLongMap with the supplied default

Attributes

Source
LongMap.scala

Implicits

Implicits

implicitdefbuildFromLongMap[V]:BuildFrom[LongMap[_], (Long,V),LongMap[V]]

Attributes

Source
LongMap.scala
implicitdefiterableFactory[V]:Factory[(Long,V),LongMap[V]]

Attributes

Source
LongMap.scala
implicitdeftoBuildFrom[V](factory:LongMap.type):BuildFrom[Any, (Long,V),LongMap[V]]

Attributes

Source
LongMap.scala
implicitdeftoFactory[V](dummy:LongMap.type):Factory[(Long,V),LongMap[V]]

Attributes

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

[8]ページ先頭

©2009-2025 Movatter.jp