xor

fun xor(set: BitSet)

Performs a logical XOR of this bit set with the bit set argument. This bit set is modified so that a bit in it has the value true if and only if one of the following statements holds:

  • The bit initially has the value true, and the corresponding bit in the argument has the value false.

  • The bit initially has the value false, and the corresponding bit in the argument has the value true.

Parameters

set

a bit set