| Package | Description |
|---|---|
| com.codename1.util |
General utilities classes
|
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
BigInteger.ONE |
static BigInteger |
BigInteger.ZERO |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
BigDecimal.add(BigInteger b) |
BigInteger |
BigInteger.add(BigInteger val) |
BigInteger |
BigInteger.and(BigInteger value) |
BigInteger |
BigInteger.andNot(BigInteger value) |
int |
BigDecimal.compareTo(BigInteger val) |
int |
BigInteger.compareTo(BigInteger val) |
BigDecimal |
BigDecimal.divide(BigInteger b) |
BigInteger |
BigInteger.divide(BigInteger val) |
BigInteger[] |
BigInteger.divideAndRemainder(BigInteger val) |
BigInteger |
BigInteger.gcd(BigInteger val) |
static BigDecimal |
BigDecimal.getInstance(BigInteger value,
int scale)
Deprecated.
This method is not part of the JDK's
BigDecimal class and its presence is historical,
as the first implementation of Codename One's BigDecimal class was ported from BouncyCastle, which is different
than the JDK's BigDecimal class in that is optimizes binary arithmetic. The implementation of this method
is counter-intuitive since it performs a bitwise left shift on value before scaling it. Use BigDecimal.BigDecimal(com.codename1.util.BigInteger, int)
instead if you just want to convert a BigInteger into a BigDecimal. Do not rely on this method
as it will be removed in a future version of Codename One.. |
BigInteger |
BigInteger.max(BigInteger val) |
BigInteger |
BigInteger.min(BigInteger val) |
BigInteger |
BigInteger.mod(BigInteger m) |
BigInteger |
BigInteger.modInverse(BigInteger m) |
BigInteger |
BigInteger.modPow(BigInteger exponent,
BigInteger m) |
BigDecimal |
BigDecimal.multiply(BigInteger b) |
BigInteger |
BigInteger.multiply(BigInteger val) |
BigInteger |
BigInteger.or(BigInteger value) |
BigInteger |
BigInteger.remainder(BigInteger n) |
BigDecimal |
BigDecimal.subtract(BigInteger b) |
BigInteger |
BigInteger.subtract(BigInteger val) |
BigInteger |
BigInteger.xor(BigInteger val) |
| Constructor and Description |
|---|
BigDecimal(BigInteger bigInt,
int scale)
Constructor for
BigDecimal. |
Copyright © 2021. All rights reserved.