ConcurrentCollection

open class ConcurrentCollection<E> : MutableCollection<E>

Constructors

<init>

ConcurrentCollection(
    delegate: MutableCollection<E>,
    lock: Lock)

Properties

size

open val size: Int

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

Inheritors

ConcurrentSet

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