getAndSet

open override fun getAndSet(i: Int): Boolean

Set the bit at i, returning true if it was previously set.