getAndSet

fun getAndSet(value: V): V