Flips the bit at the specified index (0 becomes 1, 1 becomes 0).
If the index is beyond the current capacity, the BitSet is grown and the bit is set to 1.
Example:
var bits = new BitSet (8);
bits.flip (3);
assert (bits.get (3));
bits.flip (3);
assert (!bits.get (3));
| index |
the zero-based bit index. Must be >= 0. |