@GwtCompatible public class BigIntegerExtensions extends Object
big integral numbers.| Constructor and Description |
|---|
BigIntegerExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
operator_divide(BigInteger a,
BigInteger b)
The binary
divide operator. |
static BigInteger |
operator_minus(BigInteger a)
The unary
minus operator. |
static BigInteger |
operator_minus(BigInteger a,
BigInteger b)
The binary
minus operator. |
static BigInteger |
operator_modulo(BigInteger a,
BigInteger b)
The binary
modulo operator. |
static BigInteger |
operator_multiply(BigInteger a,
BigInteger b)
The binary
times operator. |
static BigInteger |
operator_plus(BigInteger a,
BigInteger b)
The binary
plus operator. |
static BigInteger |
operator_power(BigInteger a,
int exponent)
The
power operator. |
@Pure public static BigInteger operator_minus(BigInteger a)
minus operator.a - a BigInteger. May not be null.-aNullPointerException - if a is null.@Pure public static BigInteger operator_plus(BigInteger a, BigInteger b)
plus operator.a - a BigInteger. May not be null.b - a BigInteger. May not be null.a.add(b)NullPointerException - if a or b is null.@Pure public static BigInteger operator_minus(BigInteger a, BigInteger b)
minus operator.a - a BigInteger. May not be null.b - a BigInteger. May not be null.a.subtract(b)NullPointerException - if a or b is null.@Pure public static BigInteger operator_power(BigInteger a, int exponent)
power operator.a - a BigInteger. May not be null.exponent - the exponent.a.pow(b)NullPointerException - if a null.@Pure public static BigInteger operator_multiply(BigInteger a, BigInteger b)
times operator.a - a BigInteger. May not be null.b - a BigInteger. May not be null.a.multiply(b)NullPointerException - if a or b is null.@Pure public static BigInteger operator_divide(BigInteger a, BigInteger b)
divide operator.a - a BigInteger. May not be null.b - a BigInteger. May not be null.a.divide(b)NullPointerException - if a or b is null.@Pure public static BigInteger operator_modulo(BigInteger a, BigInteger b)
modulo operator.a - a BigInteger. May not be null.b - a BigInteger. May not be null.a.mod(b)NullPointerException - if a or b is null.Copyright © 2015. All Rights Reserved.