Kactoos

kactoos-jvm / nnl.rocks.kactoos.list / SyncList

SyncList

class SyncList<X : Any> : ListEnvelope<X>

Synchronized list.

Objects of this class are thread-safe.

Parameters

X - Type of item

Since 0.4

Constructors

Name Summary
<init> SyncList(list: Collection<X>)
SyncList(vararg items: X)
SyncList(items: Iterable<X>)

Inherited Functions

Name Summary
iterator open fun iterator(): Iterator<T>
listIterator open fun listIterator(): ListIterator<T>
open fun listIterator(index: Int): ListIterator<T>