set Bit
Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit set. (Computes (this | (1<<n)).)
Return
this | (1<<n)
Parameters
n
index of bit to set.
Throws
n is negative.
Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit set. (Computes (this | (1<<n)).)
this | (1<<n)
index of bit to set.
n is negative.