BigInteger.andNot

Returns a BigInteger whose value is {@code (this & ~val)}. This method, which is equivalent to {@code and(val.not())}, is provided as a convenience for masking operations. (This method returns a negative BigInteger if and only if {@code this} is negative and {@code val} is positive.)

@param val value to be complemented and AND'ed with this BigInteger. @return {@code this & ~val}

class BigInteger
andNot

Meta