TMap

object TMap extends MapFactory[[A, B] =>> TMap[A, B]]
Companion
class
trait MapFactory[[A, B] =>> TMap[A, B]]
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

object View extends MapFactory[View]
Companion
class
trait View[A, B] extends Map[A, B] with MapOps[A, B, View, View[A, B]] with MapFactoryDefaults[A, B, View, Iterable] with TxnDebuggable

A Map that provides atomic execution of all of its methods.

A Map that provides atomic execution of all of its methods.

Companion
object

Value members

Concrete methods

def empty[A, B]: TMap[A, B]

Constructs and returns a new empty TMap.

Constructs and returns a new empty TMap.

def from[A, B](it: IterableOnce[(A, B)]): TMap[A, B]

Constructs and returns a new TMap that will contain the key/value pairs from it.

Constructs and returns a new TMap that will contain the key/value pairs from it.

def newBuilder[A, B]: Builder[(A, B), TMap[A, B]]

Returns a builder of TMap.

Returns a builder of TMap.

Inherited methods

def apply[K, V](elems: (K, V)*): TMap[K, V]
Inherited from
MapFactory

Implicits

Implicits

implicit def asMap[A, B](m: TMap[A, B])(txn: InTxn): View[A, B]

Allows a TMap in a transactional context to be used as a Map.

Allows a TMap in a transactional context to be used as a Map.

Inherited implicits

implicit def mapFactory[K, V]: Factory[(K, V), TMap[K, V]]
Inherited from
MapFactory