ParHashMap

scala.collection.parallel.mutable.ParHashMap
See theParHashMap companion class

This object provides a set of operations needed to create ParMap values.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ParHashMap.type

Members list

Type members

Classlikes

final class DefaultEntry[K, V](val key: K, var value: V) extends Serializable

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any

Inherited classlikes

class CanCombineFromMap[FromK, FromV, K, V] extends CanCombineFrom[CC[FromK, FromV], (K, V), CC[K, V]]

Attributes

Inherited from:
ParMapFactory
Supertypes
trait CanCombineFrom[CC[FromK, FromV], (K, V), CC[K, V]]
trait Parallel
class Object
trait Matchable
class Any

Value members

Concrete methods

def empty[K, V]: ParHashMap[K, V]
def newCombiner[K, V]: Combiner[(K, V), ParHashMap[K, V]]

The default combiner for mutable.ParHashMap objects.

The default combiner for mutable.ParHashMap objects.

Type parameters

K

the type of the keys

V

the type of the associated values

Attributes

Inherited methods

def apply[K, V](elems: (K, V)*): ParHashMap[K, V]

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

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

Type parameters

K

the type of the keys

V

the type of the associated values

Value parameters

elems

the key/value pairs that make up the parallel map

Attributes

Returns

a new parallel map consisting key/value pairs given by elems.

Inherited from:
ParMapFactory
def newBuilder[K, V]: Builder[(K, V), ParHashMap[K, V]]

The default builder for ParMap objects.

The default builder for ParMap objects.

Type parameters

K

the type of the keys

V

the type of the associated values

Attributes

Inherited from:
ParMapFactory

Concrete fields

var iters: Int

Implicits

Implicits

implicit def canBuildFrom[FromK, FromV, K, V]: CanCombineFrom[ParHashMap[FromK, FromV], (K, V), ParHashMap[K, V]]

Inherited implicits

implicit def toFactory[K, V]: Factory[(K, V), ParHashMap[K, V]]

Attributes

Inherited from:
GenericParMapCompanion