atomicMapOf

fun <K, V> atomicMapOf(): AtomicMap<K, V>

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


fun <K, V> atomicMapOf(vararg pairs: Pair<K, V>): AtomicMap<K, V>

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