compareAndSet

fun compareAndSet(expected: T?, update: T?): Boolean