Class NegativeInteger

  • All Implemented Interfaces:
    Serializable, Comparable<BigInteger>

    public class NegativeInteger
    extends NonPositiveInteger
    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:
    XML Schema 3.3.15, Serialized Form
    • Constructor Detail

      • NegativeInteger

        public NegativeInteger​(byte[] val)
      • NegativeInteger

        public NegativeInteger​(int signum,
                               byte[] magnitude)
      • NegativeInteger

        public NegativeInteger​(int bitLength,
                               int certainty,
                               Random rnd)
      • NegativeInteger

        public NegativeInteger​(int numBits,
                               Random rnd)
      • NegativeInteger

        public NegativeInteger​(String val)
      • NegativeInteger

        public NegativeInteger​(String val,
                               int radix)