int size()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns the number of bits of space actually in use by this BitSet to represent bit values. The maximum element in the set is the size - 1st element.
Example
BitSet bitset = new BitSet(6);
bitset.set(0);
Logger.log("size of the bitset: " + bitset.size());
The example above returns the size of the bitset.