commonMain.com.adamratzman.spotify.utils.ConcurrentHashMap.kt Maven / Gradle / Ivy
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2022; Original author: Adam Ratzman */
package com.adamratzman.spotify.utils
public expect class ConcurrentHashMap() {
public operator fun get(key: K): V?
public fun put(key: K, value: V): V?
public fun remove(key: K): V?
public fun clear()
public val size: Int
public val entries: MutableSet>
}
public expect fun ConcurrentHashMap.asList(): List>