Packages

final class ConcurrentSet[A] extends AnyVal

A ConcurrentSet is a Set wrapper over java.util.concurrent.ConcurrentHashMap.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def add(x: A): UIO[Boolean]

    Adds a new value.

  5. def addAll(xs: Iterable[A]): UIO[Boolean]

    Adds all new values.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear: UIO[Unit]

    Removes all elements.

  8. def collectFirst[B](pf: PartialFunction[A, B]): UIO[Option[B]]

    Finds the first element of a set for which the partial function is defined and applies the function to it.

  9. def contains(x: A): UIO[Boolean]

    Tests whether if the element is in the set.

  10. def containsAll(xs: Iterable[A]): UIO[Boolean]

    Tests if the elements in the collection are a subset of the set.

  11. def exists(p: (A) => Boolean): UIO[Boolean]

    Tests whether a given predicate holds true for at least one element in the set.

  12. def find[B](p: (A) => Boolean): UIO[Option[A]]

    Retrieves the elements in which predicate is satisfied.

  13. def fold[R, E, S](zero: S)(f: (S, A) => S): UIO[S]

    Folds the elements of a set using the given binary operator.

  14. def forall(p: (A) => Boolean): UIO[Boolean]

    Tests whether a predicate is satisfied by all elements of a set.

  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. def isEmpty: UIO[Boolean]

    True if there are no elements in the set.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def remove(x: A): UIO[Boolean]

    Removes the entry for the given value if it is mapped to an existing element.

  19. def removeAll(xs: Iterable[A]): UIO[Boolean]

    Removes all the entries for the given values if they are mapped to an existing element.

  20. def removeIf(p: (A) => Boolean): UIO[Boolean]

    Removes all elements which satisfy the given predicate.

  21. def retainAll(xs: Iterable[A]): UIO[Boolean]

    Retain all the entries for the given values if they are mapped to an existing element.

  22. def retainIf(p: (A) => Boolean): UIO[Boolean]

    Removes all elements which do not satisfy the given predicate.

  23. def size: UIO[Int]

    Number of elements in the set.

  24. def toSet: UIO[Set[A]]

    Create a concurrent set from a set.

  25. def toString(): String
    Definition Classes
    Any
  26. def transform(f: (A) => A): UIO[Unit]

    Create a concurrent set from a collection.

    Create a concurrent set from a collection.

    Annotations
    @silent("JavaConverters")

Inherited from AnyVal

Inherited from Any

Ungrouped