Class NegativeInteger
java.lang.Object
java.lang.Number
java.math.BigInteger
org.apache.axis2.databinding.types.NonPositiveInteger
org.apache.axis2.databinding.types.NegativeInteger
- All Implemented Interfaces:
Serializable,Comparable<BigInteger>
Custom class for supporting primitive XSD data type negativeinteger
negativeInteger is derived from nonPositiveInteger by setting the value of maxInclusive to be -1.
This results in the standard mathematical concept of the negative integers. The value space of
negativeInteger is the infinite set {...,-2,-1}. The base type of negativeInteger is
nonPositiveInteger.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.As per https://issues.apache.org/jira/browse/AXIS2-3848 -
Field Summary
Fields inherited from class java.math.BigInteger
ONE, TEN, TWO, ZERO -
Constructor Summary
ConstructorsConstructorDescriptionNegativeInteger(byte[] val) NegativeInteger(int signum, byte[] magnitude) NegativeInteger(int bitLength, int certainty, Random rnd) NegativeInteger(int numBits, Random rnd) NegativeInteger(String val) NegativeInteger(String val, int radix) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.As per https://issues.apache.org/jira/browse/AXIS2-3848Methods 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, xorMethods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
NegativeInteger
public NegativeInteger(byte[] val) -
NegativeInteger
public NegativeInteger(int signum, byte[] magnitude) -
NegativeInteger
-
NegativeInteger
-
NegativeInteger
-
NegativeInteger
-
-
Method Details
-
writeReplace
Deprecated.As per https://issues.apache.org/jira/browse/AXIS2-3848Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html- Overrides:
writeReplacein classNonPositiveInteger- Returns:
- BigIntegerRep
- Throws:
ObjectStreamException
-