|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
java.math.BigInteger
org.apache.axis.types.NonNegativeInteger
org.apache.axis.types.PositiveInteger
public class PositiveInteger
Custom class for supporting primitive XSD data type positiveInteger positiveInteger is derived from nonNegativeInteger by setting the value of minInclusive to be 1. This results in the standard mathematical concept of the positive integer numbers. The value space of positiveInteger is the infinite set {1,2,...}.
Nested Class Summary | |
---|---|
protected static class |
PositiveInteger.BigIntegerRep
|
Field Summary |
---|
Fields inherited from class java.math.BigInteger |
---|
ONE, TEN, ZERO |
Constructor Summary | |
---|---|
PositiveInteger(byte[] val)
|
|
PositiveInteger(int signum,
byte[] magnitude)
|
|
PositiveInteger(int bitLength,
int certainty,
java.util.Random rnd)
|
|
PositiveInteger(int numBits,
java.util.Random rnd)
|
|
PositiveInteger(java.lang.String val)
|
|
PositiveInteger(java.lang.String val,
int radix)
|
Method Summary | |
---|---|
java.lang.Object |
writeReplace()
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html |
Methods inherited from class java.math.BigInteger |
---|
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 |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PositiveInteger(byte[] val)
public PositiveInteger(int signum, byte[] magnitude)
public PositiveInteger(int bitLength, int certainty, java.util.Random rnd)
public PositiveInteger(int numBits, java.util.Random rnd)
public PositiveInteger(java.lang.String val)
public PositiveInteger(java.lang.String val, int radix)
Method Detail |
---|
public java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class NonNegativeInteger
java.io.ObjectStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |