A ConcurrentSet
is a Set wrapper over
java.util.concurrent.ConcurrentHashMap
.
- Companion:
- object
Value members
Concrete methods
Finds the first element of a set for which the partial function is defined and applies the function to it.
Finds the first element of a set for which the partial function is defined and applies the function to it.
Tests if the elements in the collection are a subset of the set.
Tests if the elements in the collection are a subset of the set.
Tests whether a given predicate holds true for at least one element in the set.
Tests whether a given predicate holds true for at least one element in the set.
Retrieves the elements in which predicate is satisfied.
Retrieves the elements in which predicate is satisfied.
Folds the elements of a set using the given binary operator.
Folds the elements of a set using the given binary operator.
Tests whether a predicate is satisfied by all elements of a set.
Tests whether a predicate is satisfied by all elements of a set.
Removes the entry for the given value if it is mapped to an existing element.
Removes the entry for the given value if it is mapped to an existing element.
Removes all the entries for the given values if they are mapped to an existing element.
Removes all the entries for the given values if they are mapped to an existing element.
Removes all elements which satisfy the given predicate.
Removes all elements which satisfy the given predicate.
Retain all the entries for the given values if they are mapped to an existing element.
Retain all the entries for the given values if they are mapped to an existing element.