BigInteger

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Comparable

public class BigInteger implements Comparable<BigInteger>

Constructors

Constructor Description
BigInteger(int sign, long[] data)

Fields

Field Description
One
Zero

Methods

Method Description
asInt32(int[] ret)
compare(BigInteger x, BigInteger y)
compareTo(BigInteger obj)
create(double v)
create(int v)
create_Rename_Namesake(long v)
create___Rename_Namesake(long v)
divRem(BigInteger x, BigInteger y, BigInteger[] remainder)
equals(Object obj)
getClass()
getLength()
hashCode()
isNegative()
negate(BigInteger x)
notify()
notifyAll()
op_Addition(BigInteger x, BigInteger y)
op_Division(BigInteger x, BigInteger y)
op_Equality(BigInteger x, BigInteger y)
op_GreaterThan(BigInteger x, BigInteger y)
op_LeftShift(BigInteger x, int shift)
op_LessThan(BigInteger x, BigInteger y)
op_Modulus(BigInteger x, BigInteger y)
op_Multiply(BigInteger x, BigInteger y)
op_RightShift(BigInteger x, int shift)
op_Subtraction(BigInteger x, BigInteger y)
op_UnaryNegation(BigInteger x)
parse(String number)
toInt32()
toString()
toString(long radix)
toUInt()
to_BigInteger(int i)
to_BigInteger(long i)
wait()
wait(long arg0)
wait(long arg0, int arg1)

BigInteger(int sign, long[] data)

public BigInteger(int sign, long[] data)

Parameters:

Parameter Type Description
sign int
data long[]

One

public static final BigInteger One

Zero

public static final BigInteger Zero

asInt32(int[] ret)

public boolean asInt32(int[] ret)

Parameters:

Parameter Type Description
ret int[]

Returns: boolean

compare(BigInteger x, BigInteger y)

public static int compare(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: int

compareTo(BigInteger obj)

public int compareTo(BigInteger obj)

Parameters:

Parameter Type Description
obj BigInteger

Returns: int

create(double v)

public static BigInteger create(double v)

Parameters:

Parameter Type Description
v double

Returns: BigInteger

create(int v)

public static BigInteger create(int v)

Parameters:

Parameter Type Description
v int

Returns: BigInteger

create_Rename_Namesake(long v)

public static BigInteger create_Rename_Namesake(long v)

Parameters:

Parameter Type Description
v long

Returns: BigInteger

create___Rename_Namesake(long v)

public static BigInteger create___Rename_Namesake(long v)

Parameters:

Parameter Type Description
v long

Returns: BigInteger

divRem(BigInteger x, BigInteger y, BigInteger[] remainder)

public static BigInteger divRem(BigInteger x, BigInteger y, BigInteger[] remainder)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger
remainder BigInteger[]

Returns: BigInteger

equals(Object obj)

public boolean equals(Object obj)

Parameters:

Parameter Type Description
obj java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLength()

public int getLength()

Returns: int

hashCode()

public int hashCode()

Returns: int

isNegative()

public boolean isNegative()

Returns: boolean

negate(BigInteger x)

public static BigInteger negate(BigInteger x)

Parameters:

Parameter Type Description
x BigInteger

Returns: BigInteger

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Addition(BigInteger x, BigInteger y)

public static BigInteger op_Addition(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: BigInteger

op_Division(BigInteger x, BigInteger y)

public static BigInteger op_Division(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: BigInteger

op_Equality(BigInteger x, BigInteger y)

public static boolean op_Equality(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: boolean

op_GreaterThan(BigInteger x, BigInteger y)

public static boolean op_GreaterThan(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: boolean

op_LeftShift(BigInteger x, int shift)

public static BigInteger op_LeftShift(BigInteger x, int shift)

Parameters:

Parameter Type Description
x BigInteger
shift int

Returns: BigInteger

op_LessThan(BigInteger x, BigInteger y)

public static boolean op_LessThan(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: boolean

op_Modulus(BigInteger x, BigInteger y)

public static BigInteger op_Modulus(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: BigInteger

op_Multiply(BigInteger x, BigInteger y)

public static BigInteger op_Multiply(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: BigInteger

op_RightShift(BigInteger x, int shift)

public static BigInteger op_RightShift(BigInteger x, int shift)

Parameters:

Parameter Type Description
x BigInteger
shift int

Returns: BigInteger

op_Subtraction(BigInteger x, BigInteger y)

public static BigInteger op_Subtraction(BigInteger x, BigInteger y)

Parameters:

Parameter Type Description
x BigInteger
y BigInteger

Returns: BigInteger

op_UnaryNegation(BigInteger x)

public static BigInteger op_UnaryNegation(BigInteger x)

Parameters:

Parameter Type Description
x BigInteger

Returns: BigInteger

parse(String number)

public static BigInteger parse(String number)

Parameters:

Parameter Type Description
number java.lang.String

Returns: BigInteger

toInt32()

public int toInt32()

Returns: int

toString()

public String toString()

Returns: java.lang.String

toString(long radix)

public String toString(long radix)

Parameters:

Parameter Type Description
radix long

Returns: java.lang.String

toUInt()

public long toUInt()

Returns: long

to_BigInteger(int i)

public static BigInteger to_BigInteger(int i)

Parameters:

Parameter Type Description
i int

Returns: BigInteger

to_BigInteger(long i)

public static BigInteger to_BigInteger(long i)

Parameters:

Parameter Type Description
i long

Returns: BigInteger

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int