Package java.util
Class BitSet

Public Method clear

void clear(int bit)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Clears the specified bit index to the boolean value false.

Example

   BitSet bitset = new BitSet(6);
   bitset.set(20);
   bitset.set(2);
   bitset.set(24);
   Logger.log("Bitset:" + bitset);
   bitset.clear(1);
   Logger.log("Bitset:" + bitset);

The example above clears the second element in the bitset.