getAndSet

open override fun getAndSet(index: Int): Boolean

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