Class RadixBigInteger

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.math.BigInteger>

    public class RadixBigInteger
    extends java.math.BigInteger
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Location location  
      protected int preferredRadix  
      • Fields inherited from class java.math.BigInteger

        ONE, TEN, TWO, ZERO
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPreferredRadix()  
      void setPreferredRadix​(int preferredRadix)  
      java.lang.String toString()  
      • Methods 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, 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
    • Field Detail

      • preferredRadix

        protected int preferredRadix
      • location

        public final Location location
    • Constructor Detail

      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               byte[] val)
      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               java.lang.String val)
      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               int signum,
                               byte[] magnitude)
      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               java.lang.String val,
                               int radix)
      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               int numBits,
                               java.util.Random rnd)
      • RadixBigInteger

        public RadixBigInteger​(Location location,
                               int bitLength,
                               int certainty,
                               java.util.Random rnd)
    • Method Detail

      • getPreferredRadix

        public int getPreferredRadix()
      • setPreferredRadix

        public void setPreferredRadix​(int preferredRadix)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.math.BigInteger