compareAndSet

fun compareAndSet(expectedValue: T, newValue: T): Boolean