ConcurrentSet

class ConcurrentSet<K> : 
    ConcurrentCollection<K>,
    MutableSet<K>

Constructors

<init>

ConcurrentSet(
    delegate: MutableSet<K> = mutableSetOf(),
    lock: Lock = Lock())

Inherited Properties

size

open val size: Int

Inherited Functions

add

open fun add(element: E): Boolean

addAll

open fun addAll(elements: Collection<E>): Boolean

clear

open fun clear(): Unit

contains

open fun contains(element: E): Boolean

containsAll

open fun containsAll(elements: Collection<E>): Boolean

isEmpty

open fun isEmpty(): Boolean

iterator

open fun iterator(): MutableIterator<E>

remove

open fun remove(element: E): Boolean

removeAll

open fun removeAll(elements: Collection<E>): Boolean

retainAll

open fun retainAll(elements: Collection<E>): Boolean