and

fun <T : Comparable<T>> and(typedArray: TypedArray<*, *, *, T>, index: Int, value: T): T(source)

Stores the bitwise AND of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.