Packages

class TMap[K, V] extends AnyRef

Transactional map implemented on top of TRef and TArray. Resolves conflicts via chaining.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def contains(k: K): STM[Nothing, Boolean]

    Tests whether or not map contains a key.

  7. final def delete(k: K): STM[Nothing, Unit]

    Removes binding for given key.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def fold[A](zero: A)(op: (A, (K, V)) ⇒ A): STM[Nothing, A]

    Atomically folds using pure function.

  12. final def foldM[A, E](zero: A)(op: (A, (K, V)) ⇒ STM[E, A]): STM[E, A]

    Atomically folds using effectful function.

  13. final def foreach[E](f: (K, V) ⇒ STM[E, Unit]): STM[E, Unit]

    Atomically performs side-effect for each binding present in map.

  14. final def get(k: K): STM[Nothing, Option[V]]

    Retrieves value associated with given key.

  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def getOrElse(k: K, default: ⇒ V): STM[Nothing, V]

    Retrieves value associated with given key or default value, in case the key isn't present.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def keys: STM[Nothing, List[K]]

    Collects all keys stored in map.

  20. final def merge(k: K, v: V)(f: (V, V) ⇒ V): STM[Nothing, V]

    If the key k is not already associated with a value, stores the provided value, otherwise merge the existing value with the new one using function f and store the result

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def put(k: K, v: V): STM[Nothing, Unit]

    Stores new binding into the map.

  25. final def removeIf(p: (K, V) ⇒ Boolean): STM[Nothing, Unit]

    Removes bindings matching predicate.

  26. final def retainIf(p: (K, V) ⇒ Boolean): STM[Nothing, Unit]

    Retains bindings matching predicate.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def toList: STM[Nothing, List[(K, V)]]

    Collects all bindings into a list.

  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def transform(f: (K, V) ⇒ (K, V)): STM[Nothing, Unit]

    Atomically updates all bindings using pure function.

  31. final def transformM[E](f: (K, V) ⇒ STM[E, (K, V)]): STM[E, Unit]

    Atomically updates all bindings using effectful function.

  32. final def transformValues(f: (V) ⇒ V): STM[Nothing, Unit]

    Atomically updates all values using pure function.

  33. final def transformValuesM[E](f: (V) ⇒ STM[E, V]): STM[E, Unit]

    Atomically updates all values using effectful function.

  34. final def values: STM[Nothing, List[V]]

    Collects all values stored in map.

  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped