BitSet.set

Sets the bit at the specified index to {@code true}.

@param bitIndex a bit index @throws IndexOutOfBoundsException if the specified index is negative

Meta