mutate

inline fun mutate(mutator: MutableSet<E>.() -> Unit)

Mutates this set atomically. mutator can be evaluated multiple times if a concurrent edit occurs.