Class/Object

zio.stm

TSet

Related Docs: object TSet | package stm

Permalink

final class TSet[A] extends AnyVal

Transactional set implemented on top of TMap.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def contains(a: A): STM[Nothing, Boolean]

    Permalink

    Tests whether or not set contains an element.

  6. final def delete(a: A): STM[Nothing, Unit]

    Permalink

    Removes element from set.

  7. final def diff(other: TSet[A]): STM[Nothing, Unit]

    Permalink

    Atomically transforms the set into the difference of itself and the provided set.

  8. final def fold[B](zero: B)(op: (B, A) ⇒ B): STM[Nothing, B]

    Permalink

    Atomically folds using pure function.

  9. final def foldM[B, E](zero: B)(op: (B, A) ⇒ STM[E, B]): STM[E, B]

    Permalink

    Atomically folds using effectful function.

  10. final def foreach[E](f: (A) ⇒ STM[E, Unit]): STM[E, Unit]

    Permalink

    Atomically performs side-effect for each element in set.

  11. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  12. final def intersect(other: TSet[A]): STM[Nothing, Unit]

    Permalink

    Atomically transforms the set into the intersection of itself and the provided set.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def put(a: A): STM[Nothing, Unit]

    Permalink

    Stores new element in the set.

  15. final def removeIf(p: (A) ⇒ Boolean): STM[Nothing, Unit]

    Permalink

    Removes elements matching predicate.

  16. final def retainIf(p: (A) ⇒ Boolean): STM[Nothing, Unit]

    Permalink

    Retains elements matching predicate.

  17. final def size: STM[Nothing, Int]

    Permalink

    Returns the set's cardinality.

  18. final def toList: STM[Nothing, List[A]]

    Permalink

    Collects all elements into a list.

  19. def toString(): String

    Permalink
    Definition Classes
    Any
  20. final def transform(f: (A) ⇒ A): STM[Nothing, Unit]

    Permalink

    Atomically updates all elements using pure function.

  21. final def transformM[E](f: (A) ⇒ STM[E, A]): STM[E, Unit]

    Permalink

    Atomically updates all elements using effectful function.

  22. final def union(other: TSet[A]): STM[Nothing, Unit]

    Permalink

    Atomically transforms the set into the union of itself and the provided set.

Inherited from AnyVal

Inherited from Any

Ungrouped