Description:
Returns a string representing of this bit set. For every index for which this BitSet contains a bit in the set state, the decimal representation of that index is included in the result.
Example
BitSet bitset = new BitSet(6);
bitset.set(0);
Logger.log("bitset to string: " + bitset.toString());
The example above returns the string representation of this bitset.