clearAll


Description:

public void clearAll ()

Sets all bits to 0.

Example:

    var bits = new BitSet (8);
bits.set (0);
bits.set (3);
bits.clearAll ();
assert (bits.isEmpty ());