public class PositiveInteger extends NonNegativeInteger
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PositiveInteger.BigIntegerRep |
ONE, TEN, ZERO| Constructor and Description |
|---|
PositiveInteger(byte[] val) |
PositiveInteger(int signum,
byte[] magnitude) |
PositiveInteger(int bitLength,
int certainty,
Random rnd) |
PositiveInteger(int numBits,
Random rnd) |
PositiveInteger(String val) |
PositiveInteger(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, xorbyteValue, shortValuepublic PositiveInteger(byte[] val)
public PositiveInteger(int signum,
byte[] magnitude)
public PositiveInteger(int bitLength,
int certainty,
Random rnd)
public PositiveInteger(int numBits,
Random rnd)
public PositiveInteger(String val)
public PositiveInteger(String val, int radix)
public Object writeReplace() throws ObjectStreamException
writeReplace in class NonNegativeIntegerObjectStreamExceptionCopyright © The Apache Software Foundation. All Rights Reserved.