public BigInteger shiftRight (int n)

Returns a BigInteger whose value is (this >> n). Sign extension is performed. The shift distance, n, may be negative, in which case this method performs a left shift. (Computes floor(this / 2n).)

Parameters:
n    shift distance, in bits.

Returns:  this >> n

See also:
shiftLeft