Returns the value of the bit with the specified index. The value
is {@code true} if the bit with the index {@code bitIndex}
is currently set in this {@code BitSet}; otherwise, the result
is {@code false}.
@param bitIndex the bit index
@return the value of the bit with the specified index
@throws IndexOutOfBoundsException if the specified index is negative
Returns the value of the bit with the specified index. The value is {@code true} if the bit with the index {@code bitIndex} is currently set in this {@code BitSet}; otherwise, the result is {@code false}.
@param bitIndex the bit index @return the value of the bit with the specified index @throws IndexOutOfBoundsException if the specified index is negative