getAndSet

expect fun getAndSet(newValue: T): T
actual fun getAndSet(newValue: T): T
actual fun getAndSet(newValue: T): T