public class PositiveInteger extends NonNegativeInteger
Modifier and Type | Class and Description |
---|---|
protected static class |
PositiveInteger.BigIntegerRep
Deprecated.
As per https://issues.apache.org/jira/browse/AXIS2-3848
|
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()
Deprecated.
As per https://issues.apache.org/jira/browse/AXIS2-3848
|
abs, add, and, andNot, bitCount, bitLength, clearBit, 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 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 NonNegativeInteger
ObjectStreamException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.