atomicSetOf

Returns an empty AtomicSet that guarantees preservation of iteration order, but may be slower.


fun <E> atomicSetOf(vararg elements: E): AtomicSet<E>

Returns an AtomicSet that guarantees preservation of iteration order, but may be slower.