Table of Contents

Class BigInteger

Namespace
Java.Math
Assembly
MASES.JNet.dll
public class BigInteger : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
BigInteger
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

BigInteger()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public BigInteger()

BigInteger(String)

public BigInteger(String arg0)

Parameters

arg0 String

String

BigInteger(String, int)

public BigInteger(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

BigInteger(byte[])

public BigInteger(byte[] arg0)

Parameters

arg0 byte[]

byte

BigInteger(byte[], int, int)

public BigInteger(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

BigInteger(int, Random)

public BigInteger(int arg0, Random arg1)

Parameters

arg0 int

int

arg1 Random

Random

BigInteger(int, byte[])

public BigInteger(int arg0, byte[] arg1)

Parameters

arg0 int

int

arg1 byte[]

byte

BigInteger(int, byte[], int, int)

public BigInteger(int arg0, byte[] arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 byte[]

byte

arg2 int

int

arg3 int

int

BigInteger(int, int, Random)

public BigInteger(int arg0, int arg1, Random arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 Random

Random

BigInteger(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public BigInteger(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LowestSetBit

public int LowestSetBit { get; }

Property Value

int

ONE

public static BigInteger ONE { get; }

Property Value

BigInteger

TEN

public static BigInteger TEN { get; }

Property Value

BigInteger

TWO

public static BigInteger TWO { get; }

Property Value

BigInteger

ZERO

public static BigInteger ZERO { get; }

Property Value

BigInteger

Methods

Abs()

public BigInteger Abs()

Returns

BigInteger

BigInteger

Add(BigInteger)

public BigInteger Add(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

And(BigInteger)

public BigInteger And(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

AndNot(BigInteger)

public BigInteger AndNot(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

BitCount()

public int BitCount()

Returns

int

int

BitLength()

public int BitLength()

Returns

int

int

ByteValueExact()

public byte ByteValueExact()

Returns

byte

byte

ClearBit(int)

public BigInteger ClearBit(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

CompareTo(BigInteger)

public int CompareTo(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Divide(BigInteger)

public BigInteger Divide(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

DivideAndRemainder(BigInteger)

public BigInteger[] DivideAndRemainder(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger[]

BigInteger

FlipBit(int)

public BigInteger FlipBit(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

Gcd(BigInteger)

public BigInteger Gcd(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

IntValueExact()

public int IntValueExact()

Returns

int

int

IsProbablePrime(int)

public bool IsProbablePrime(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

LongValueExact()

public long LongValueExact()

Returns

long

long

Max(BigInteger)

public BigInteger Max(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Min(BigInteger)

public BigInteger Min(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Mod(BigInteger)

public BigInteger Mod(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

ModInverse(BigInteger)

public BigInteger ModInverse(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

ModPow(BigInteger, BigInteger)

public BigInteger ModPow(BigInteger arg0, BigInteger arg1)

Parameters

arg0 BigInteger

BigInteger

arg1 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Multiply(BigInteger)

public BigInteger Multiply(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Negate()

public BigInteger Negate()

Returns

BigInteger

BigInteger

NextProbablePrime()

public BigInteger NextProbablePrime()

Returns

BigInteger

BigInteger

Not()

public BigInteger Not()

Returns

BigInteger

BigInteger

Or(BigInteger)

public BigInteger Or(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Pow(int)

public BigInteger Pow(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

ProbablePrime(int, Random)

public static BigInteger ProbablePrime(int arg0, Random arg1)

Parameters

arg0 int

int

arg1 Random

Random

Returns

BigInteger

BigInteger

Remainder(BigInteger)

public BigInteger Remainder(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

SetBit(int)

public BigInteger SetBit(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

ShiftLeft(int)

public BigInteger ShiftLeft(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

ShiftRight(int)

public BigInteger ShiftRight(int arg0)

Parameters

arg0 int

int

Returns

BigInteger

BigInteger

ShortValueExact()

public short ShortValueExact()

Returns

short

short

Signum()

public int Signum()

Returns

int

int

Sqrt()

public BigInteger Sqrt()

Returns

BigInteger

BigInteger

SqrtAndRemainder()

public BigInteger[] SqrtAndRemainder()

Returns

BigInteger[]

BigInteger

Subtract(BigInteger)

public BigInteger Subtract(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

TestBit(int)

public bool TestBit(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

ToByteArray()

public byte[] ToByteArray()

Returns

byte[]

byte

ToString(int)

public String ToString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ValueOf(long)

public static BigInteger ValueOf(long arg0)

Parameters

arg0 long

long

Returns

BigInteger

BigInteger

Xor(BigInteger)

public BigInteger Xor(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

Returns

BigInteger

BigInteger

Operators

implicit operator Comparable(BigInteger)

Converter from BigInteger to Comparable

public static implicit operator Comparable(BigInteger t)

Parameters

t BigInteger

Returns

Comparable