Module java.base
Package java.math

# Class BigInteger

=
public class BigInteger
extends java.lang.Number
implements java.lang.Comparable<java.math.BigInteger>

## Fields

- =
  public static final java.math.BigInteger ONE
- =
  public static final java.math.BigInteger TEN
- =
  public static final java.math.BigInteger TWO
- =
  public static final java.math.BigInteger ZERO

## Constructors

- =
  public BigInteger(int arg0, int arg1, java.util.Random arg2)
- =
  public BigInteger(int arg0, byte[] arg1)
- =
  public BigInteger(int arg0, byte[] arg1, int arg2, int arg3)
- =
  public BigInteger(int arg0, java.util.Random arg1)
- =
  public BigInteger(byte[] arg0)
- =
  public BigInteger(byte[] arg0, int arg1, int arg2)
- =
  public BigInteger(java.lang.String arg0)
- =
  public BigInteger(java.lang.String arg0, int arg1)

## Methods

- =
  public java.math.BigInteger abs()
- =
  public java.math.BigInteger add(java.math.BigInteger arg0)
- =
  public java.math.BigInteger and(java.math.BigInteger arg0)
- =
  public java.math.BigInteger andNot(java.math.BigInteger arg0)
- =
  public int bitCount()
- =
  public int bitLength()
- =
  public byte byteValueExact()
- =
  public java.math.BigInteger clearBit(int arg0)
- =
  public int compareTo(java.math.BigInteger arg0)
- =
  public java.math.BigInteger divide(java.math.BigInteger arg0)
- =
  public java.math.BigInteger[] divideAndRemainder(java.math.BigInteger arg0)
- =
  public double doubleValue()
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.math.BigInteger flipBit(int arg0)
- =
  public float floatValue()
- =
  public java.math.BigInteger gcd(java.math.BigInteger arg0)
- =
  public int getLowestSetBit()
- =
  public int hashCode()
- =
  public int intValue()
- =
  public int intValueExact()
- =
  public boolean isProbablePrime(int arg0)
- =
  public long longValue()
- =
  public long longValueExact()
- =
  public java.math.BigInteger max(java.math.BigInteger arg0)
- =
  public java.math.BigInteger min(java.math.BigInteger arg0)
- =
  public java.math.BigInteger mod(java.math.BigInteger arg0)
- =
  public java.math.BigInteger modInverse(java.math.BigInteger arg0)
- =
  public java.math.BigInteger modPow(java.math.BigInteger arg0, java.math.BigInteger arg1)
- =
  public java.math.BigInteger multiply(java.math.BigInteger arg0)
- =
  public java.math.BigInteger negate()
- =
  public java.math.BigInteger nextProbablePrime()
- =
  public java.math.BigInteger not()
- =
  public java.math.BigInteger or(java.math.BigInteger arg0)
- =
  public java.math.BigInteger parallelMultiply(java.math.BigInteger arg0)
- =
  public java.math.BigInteger pow(int arg0)
- =
  public static java.math.BigInteger probablePrime(int arg0, java.util.Random arg1)
- =
  public java.math.BigInteger remainder(java.math.BigInteger arg0)
- =
  public java.math.BigInteger setBit(int arg0)
- =
  public java.math.BigInteger shiftLeft(int arg0)
- =
  public java.math.BigInteger shiftRight(int arg0)
- =
  public short shortValueExact()
- =
  public int signum()
- =
  public java.math.BigInteger sqrt()
- =
  public java.math.BigInteger[] sqrtAndRemainder()
- =
  public java.math.BigInteger subtract(java.math.BigInteger arg0)
- =
  public boolean testBit(int arg0)
- =
  public byte[] toByteArray()
- =
  public java.lang.String toString()
- =
  public java.lang.String toString(int arg0)
- =
  public static java.math.BigInteger valueOf(long arg0)
- =
  public java.math.BigInteger xor(java.math.BigInteger arg0)

## Serialized Form

=

### serialVersionUID

=-8287574255936472291

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void readObjectNoData() throws java.io.ObjectStreamException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.