public boolean flip ( int bitIndex ) { int wordIndex = wordIndex ( bitIndex ) ; words [ wordIndex ] ^= ( 1L << bitIndex ) ; return ( ( words [ wordIndex ] & ( 1L << bitIndex ) ) != 0 ) ; }
Sets the bit at the specified index to the complement of its current value .