Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.math.BigInteger

Availability: JDK 1.1

public class BigInteger extends Number {
   // Public Constructors
      public BigInteger(byte[] val) throws NumberFormatException;
      public BigInteger(int signum, byte[] magnitude) throws NumberFormatException;
      public BigInteger(String val, int radix) throws NumberFormatException;
      public BigInteger(String val) throws NumberFormatException;
      public BigInteger(int numBits, Random rndSrc) throws IllegalArgumentException;
      public BigInteger(int bitLength, int certainty, Random rnd);
   // Class Methods
      public static BigInteger valueOf(long val);
   // Public Instance Methods
      public BigInteger abs();
      public BigInteger add(BigInteger val) throws ArithmeticException;
      public BigInteger and(BigInteger val);
      public BigInteger andNot(BigInteger val);
      public int bitCount();
      public int bitLength();
      public BigInteger clearBit(int n) throws ArithmeticException;
      public int compareTo(BigInteger val);
      public BigInteger divide(BigInteger val) throws ArithmeticException;
      public BigInteger[] divideAndRemainder(BigInteger val) throws ArithmeticException;
      public double doubleValue();  // Defines Number.doubleValue()
      public boolean equals(Object x);  // Overrides Object.equals()
      public BigInteger flipBit(int n) throws ArithmeticException;
      public float floatValue();  // Defines Number.floatValue()
      public BigInteger gcd(BigInteger val);
      public int getLowestSetBit();
      public int hashCode();  // Overrides Object.hashCode()
      public int intValue();  // Defines Number.intValue()
      public boolean isProbablePrime(int certainty);
      public long longValue();  // Defines Number.longValue()
      public BigInteger max(BigInteger val);
      public BigInteger min(BigInteger val);
      public BigInteger mod(BigInteger m);
      public BigInteger modInverse(BigInteger m) throws ArithmeticException;
      public BigInteger modPow(BigInteger exponent, BigInteger m);
      public BigInteger multiply(BigInteger val);
      public BigInteger negate();
      public BigInteger not();
      public BigInteger or(BigInteger val);
      public BigInteger pow(int exponent) throws ArithmeticException;
      public BigInteger remainder(BigInteger val) throws ArithmeticException;
      public BigInteger setBit(int n) throws ArithmeticException;
      public BigInteger shiftLeft(int n);
      public BigInteger shiftRight(int n);
      public int signum();
      public BigInteger subtract(BigInteger val);
      public boolean testBit(int n) throws ArithmeticException;
      public byte[] toByteArray();
      public String toString(int radix);
      public String toString();  // Overrides Object.toString()
      public BigInteger xor(BigInteger val);
}
Passed To:
BigDecimal.BigDecimal(), BigInteger.add(), BigInteger.and(), BigInteger.andNot(), BigInteger.compareTo(), BigInteger.divide(), BigInteger.divideAndRemainder(), BigInteger.gcd(), BigInteger.max(), BigInteger.min(), BigInteger.mod(), BigInteger.modInverse(), BigInteger.modPow(), BigInteger.multiply(), BigInteger.or(), BigInteger.remainder(), BigInteger.subtract(), BigInteger.xor().
Returned By:
BigDecimal.toBigInteger(), BigInteger.abs(), BigInteger.add(), BigInteger.and(), BigInteger.andNot(), BigInteger.clearBit(), BigInteger.divide(), BigInteger.divideAndRemainder(), BigInteger.flipBit(), BigInteger.gcd(), BigInteger.max(), BigInteger.min(), BigInteger.mod(), BigInteger.modInverse(), BigInteger.modPow(), BigInteger.multiply(), BigInteger.negate(), BigInteger.not(), BigInteger.or(), BigInteger.pow(), BigInteger.remainder(), BigInteger.setBit(), BigInteger.shiftLeft(), BigInteger.shiftRight(), BigInteger.subtract(), BigInteger.valueOf(), BigInteger.xor(), DSAParams.getG(), DSAParams.getP(), DSAParams.getQ(), DSAPrivateKey.getX(), DSAPublicKey.getY().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.