public class NonNegativeInteger extends BigInteger
Modifier and Type | Class and Description |
---|---|
protected static class |
NonNegativeInteger.BigIntegerRep |
ONE, TEN, ZERO
Constructor and Description |
---|
NonNegativeInteger(byte[] val) |
NonNegativeInteger(int signum,
byte[] magnitude) |
NonNegativeInteger(int bitLength,
int certainty,
Random rnd) |
NonNegativeInteger(int numBits,
Random rnd) |
NonNegativeInteger(String val) |
NonNegativeInteger(String val,
int radix) |
Modifier and Type | Method and Description |
---|---|
Object |
writeReplace()
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html
|
abs, add, and, andNot, bitCount, bitLength, clearBit, compareTo, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, isProbablePrime, longValue, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor
byteValue, shortValue
public NonNegativeInteger(byte[] val)
public NonNegativeInteger(int signum, byte[] magnitude)
public NonNegativeInteger(int bitLength, int certainty, Random rnd)
public NonNegativeInteger(int numBits, Random rnd)
public NonNegativeInteger(String val)
public NonNegativeInteger(String val, int radix)
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © The Apache Software Foundation. All Rights Reserved.