Package org.apache.axis.types
Class NonNegativeInteger
java.lang.Object
java.lang.Number
java.math.BigInteger
org.apache.axis.types.NonNegativeInteger
- All Implemented Interfaces:
Serializable
,Comparable<BigInteger>
- Direct Known Subclasses:
PositiveInteger
Custom class for supporting primitive XSD data type nonNegativeInteger
- Author:
- Russell Butek <butek@us.ibm.com>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.math.BigInteger
ONE, TEN, TWO, ZERO
-
Constructor Summary
ConstructorsConstructorDescriptionNonNegativeInteger
(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) -
Method Summary
Modifier and TypeMethodDescriptionWork-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.htmlMethods inherited from class java.math.BigInteger
abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
NonNegativeInteger
public NonNegativeInteger(byte[] val) -
NonNegativeInteger
public NonNegativeInteger(int signum, byte[] magnitude) -
NonNegativeInteger
-
NonNegativeInteger
-
NonNegativeInteger
-
NonNegativeInteger
-
-
Method Details
-
writeReplace
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html- Returns:
- BigIntegerRep
- Throws:
ObjectStreamException
-