Locker

class Locker<T, V>

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
get
Link copied to clipboard
operator fun get(key: T): V
hashCode
Link copied to clipboard
open fun hashCode(): Int
isLocked
Link copied to clipboard
fun isLocked(key: T): Boolean
lock
Link copied to clipboard
suspend fun lock(key: T, value: V)
toString
Link copied to clipboard
open override fun toString(): String
unlock
Link copied to clipboard
fun unlock(key: T): Boolean