class TMap[K, V] extends AnyRef
- Alphabetic
- By Inheritance
- TMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
contains(k: K): STM[Nothing, Boolean]
Tests whether or not map contains a key.
-
final
def
delete(k: K): STM[Nothing, Unit]
Removes binding for given key.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
fold[A](zero: A)(op: (A, (K, V)) ⇒ A): STM[Nothing, A]
Atomically folds using pure function.
-
final
def
foldM[A, E](zero: A)(op: (A, (K, V)) ⇒ STM[E, A]): STM[E, A]
Atomically folds using effectful function.
-
final
def
foreach[E](f: (K, V) ⇒ STM[E, Unit]): STM[E, Unit]
Atomically performs side-effect for each binding present in map.
-
final
def
get(k: K): STM[Nothing, Option[V]]
Retrieves value associated with given key.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
keys: STM[Nothing, List[K]]
Collects all keys stored in map.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
put(k: K, v: V): STM[Nothing, Unit]
Stores new binding into the map.
-
final
def
removeIf(p: (K, V) ⇒ Boolean): STM[Nothing, Unit]
Removes bindings matching predicate.
-
final
def
retainIf(p: (K, V) ⇒ Boolean): STM[Nothing, Unit]
Retains bindings matching predicate.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toList: STM[Nothing, List[(K, V)]]
Collects all bindings into a list.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
transform(f: (K, V) ⇒ (K, V)): STM[Nothing, Unit]
Atomically updates all bindings using pure function.
-
final
def
transformM[E](f: (K, V) ⇒ STM[E, (K, V)]): STM[E, Unit]
Atomically updates all bindings using effectful function.
-
final
def
transformValues(f: (V) ⇒ V): STM[Nothing, Unit]
Atomically updates all values using pure function.
-
final
def
transformValuesM[E](f: (V) ⇒ STM[E, V]): STM[E, Unit]
Atomically updates all values using effectful function.
-
final
def
values: STM[Nothing, List[V]]
Collects all values stored in map.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()