flip method
Sets the bit at the specified index
to the complement of its current
value.
Implementation
void flip(int index) {
RangeError.checkValidIndex(index, this);
flipUnchecked(index);
}
Sets the bit at the specified index
to the complement of its current
value.
void flip(int index) {
RangeError.checkValidIndex(index, this);
flipUnchecked(index);
}