Java常用类库--大数处理类--BigInteger,类库--biginteger
Java常用类库--大数处理类--BigInteger,类库--biginteger
转自大神博客:点击打开链接
Java常用类库--大数处理类--BigInteger
(2011-10-13 19:53:18) 转载▼
标签:
java常用类库--大数处理类biginteger杂谈 |
分类: Java |
Java常用类库--大数处理类
·操作整型:BigInteger类
·操作小数:BigDecimal类
BigInteger类:
BigInteger类是在java.math包中,方法如下:
字段摘要 |
|
static |
ONE |
static |
TEN |
static |
ZERO |
构造方法摘要 |
BigInteger(byte[] |
BigInteger(int |
BigInteger(int |
BigInteger(int |
BigInteger(String |
BigInteger(String |
方法摘要 |
||
|
abs() |
|
|
add(BigInteger |
|
|
and(BigInteger |
|
|
andNot(BigInteger |
|
|
bitCount() |
|
|
bitLength() |
|
|
clearBit(int |
|
|
compareTo(BigInteger |
|
|
divide(BigInteger |
|
|
divideAndRemainder(BigInteger |
|
|
doubleValue() |
|
|
equals(Object |
|
|
flipBit(int |
|
|
floatValue() |
|
|
gcd(BigInteger |
|
|
getLowestSetBit() |
|
|
hashCode() |
|
|
intValue() |
|
|
isProbablePrime(int |
|
|
longValue() |
|
|
max(BigInteger |
|
|
min(BigInteger |
|
|
mod(BigInteger |
|
|
modInverse(BigInteger |
|
|
modPow(BigInteger |
|
|
multiply(BigInteger |
|
|
negate() |
|
|
nextProbablePrime() |
|
|
not() |
|
|
or(BigInteger |
|
|
pow(int |
|
static |
probablePrime(int |
|
|
remainder(BigInteger |
|
|
setBit(int |
|
|
shiftLeft(int |
|
|
shiftRight(int |
|
|
signum() |
|
|
subtract(BigInteger |
|
|
testBit(int |
|
|
toByteArray() |
|
|
toString() |
|
|
toString(int |
|
static |
valueOf(long |
|
|
xor(BigInteger |
相关文章
- 暂无相关文章
用户点评