Name: stC104175 Date: 06/14/2000
Not applicable - error in documentation since BitSet introduced.
The first JavaDoc paragraph of method toString() on java.util.BitSet reads:
Returns a string representation 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. Such indeces aer listed in order from lowest
to highest, separated by ",$nbsp;" (a comma and a space) and surrounded by
braces, resulting in the usual mathematical notation for a set of integers.
I guess it should read:
Returns a string representation 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. Such indeces are listed in order from lowest
to highest, separated by ", " (a comma and a space) and surrounded by
braces, resulting in the usual mathematical notation for a set of integers.
(Review ID: 103223)
======================================================================