/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }
/** * Compares this {@code BigInteger} with {@code value}. Returns {@code -1} * if {@code this < value}, {@code 0} if {@code this == value} and {@code 1} * if {@code this > value}, . * * @param value value to be compared with {@code this}. * @throws NullPointerException if {@code value == null}. */ public int compareTo(BigInteger value) { return BigInt.cmp(getBigInt(), value.getBigInt()); }