1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
package scala.collection.parallel.mutable
import collection.generic._
import collection.parallel.Combiner
trait ParMap[K, V]
extends collection.mutable.Map[K, V]
with collection.parallel.ParMap[K, V]
with /* mutable */ ParIterable[(K, V)]
with GenericParMapTemplate[K, V, ParMap]
with /* mutable */ ParMapLike[K, V, ParMap[K, V], collection.mutable.Map[K, V]]
{
override def mapCompanion: GenericParMapCompanion[ParMap] = ParMap
override def empty: ParMap[K, V] = null // TODO
}
object ParMap extends ParMapFactory[ParMap] {
def empty[K, V]: ParMap[K, V] = null // TODO
def newCombiner[K, V]: Combiner[(K, V), ParMap[K, V]] = null // TODO
implicit def canBuildFrom[K, V]: CanCombineFrom[Coll, (K, V), ParMap[K, V]] = new CanCombineFromMap[K, V]
}
|