org.apache.axis2.databinding.types
Class NonNegativeInteger
java.lang.Object
java.lang.Number
java.math.BigInteger
org.apache.axis2.databinding.types.NonNegativeInteger
- All Implemented Interfaces:
- Serializable, Comparable<BigInteger>
- Direct Known Subclasses:
- PositiveInteger
public class NonNegativeInteger
- extends BigInteger
Custom class for supporting primitive XSD data type nonNegativeInteger
- See Also:
- XML Schema 3.3.20,
Serialized Form
Method Summary |
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 |
NonNegativeInteger
public NonNegativeInteger(byte[] val)
NonNegativeInteger
public NonNegativeInteger(int signum,
byte[] magnitude)
NonNegativeInteger
public NonNegativeInteger(int bitLength,
int certainty,
Random rnd)
NonNegativeInteger
public NonNegativeInteger(int numBits,
Random rnd)
NonNegativeInteger
public NonNegativeInteger(String val)
NonNegativeInteger
public NonNegativeInteger(String val,
int radix)
writeReplace
public Object writeReplace()
throws ObjectStreamException
- Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html
- Returns:
- BigIntegerRep
- Throws:
ObjectStreamException