/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }
/** * Returns a {@code BigInteger} whose value is {@code this & ~value}. * Evaluating {@code x.andNot(value)} returns the same result as {@code * x.and(value.not())}. * * <p><b>Implementation Note:</b> Usage of this method is not recommended * as the current implementation is not efficient. * * @param value value to be not'ed and then and'ed with {@code this}. * @throws NullPointerException if {@code value == null}. */ public BigInteger andNot(BigInteger value) { this.prepareJavaRepresentation(); value.prepareJavaRepresentation(); return Logical.andNot(this, value); }