public class BigInteger extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.BigInteger
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Numerics
|
static java.lang.String |
className
Qualified class name: System.Numerics.BigInteger
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BigInteger() |
BigInteger(byte[] value) |
BigInteger(Decimal value) |
BigInteger(double value) |
BigInteger(int value) |
BigInteger(long value) |
BigInteger(java.lang.Object instance)
Internal constructor.
|
BigInteger(Single value) |
BigInteger(UInt32 value) |
BigInteger(UInt64 value) |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
Abs(BigInteger value) |
static BigInteger |
Add(BigInteger left,
BigInteger right) |
static BigInteger |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BigInteger, a cast assert is made to check if types are compatible. |
static int |
Compare(BigInteger left,
BigInteger right) |
int |
CompareTo(BigInteger other) |
int |
CompareTo(long other) |
int |
CompareTo(NetObject obj) |
int |
CompareTo(UInt64 other) |
static BigInteger |
Divide(BigInteger dividend,
BigInteger divisor) |
static BigInteger |
DivRem(BigInteger dividend,
BigInteger divisor,
JCORefOut<BigInteger> remainder) |
boolean |
Equals(BigInteger other) |
boolean |
Equals(long other) |
boolean |
Equals(UInt64 other) |
boolean |
getIsEven() |
boolean |
getIsOne() |
boolean |
getIsPowerOfTwo() |
boolean |
getIsZero() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static BigInteger |
getMinusOne() |
static BigInteger |
getOne() |
int |
getSign() |
static BigInteger |
getZero() |
static BigInteger |
GreatestCommonDivisor(BigInteger left,
BigInteger right) |
static double |
Log(BigInteger value) |
static double |
Log(BigInteger value,
double baseValue) |
static double |
Log10(BigInteger value) |
static BigInteger |
Max(BigInteger left,
BigInteger right) |
static BigInteger |
Min(BigInteger left,
BigInteger right) |
static BigInteger |
ModPow(BigInteger value,
BigInteger exponent,
BigInteger modulus) |
static BigInteger |
Multiply(BigInteger left,
BigInteger right) |
static BigInteger |
Negate(BigInteger value) |
static BigInteger |
Parse(java.lang.String value) |
static BigInteger |
Parse(java.lang.String value,
IFormatProvider provider) |
static BigInteger |
Parse(java.lang.String value,
NumberStyles style) |
static BigInteger |
Parse(java.lang.String value,
NumberStyles style,
IFormatProvider provider) |
static BigInteger |
Pow(BigInteger value,
int exponent) |
static BigInteger |
Remainder(BigInteger dividend,
BigInteger divisor) |
void |
setJCOInstance(JCObject instance) |
static BigInteger |
Subtract(BigInteger left,
BigInteger right) |
byte[] |
ToByteArray() |
java.lang.String |
ToString(IFormatProvider provider) |
java.lang.String |
ToString(java.lang.String format) |
java.lang.String |
ToString(java.lang.String format,
IFormatProvider provider) |
static boolean |
TryParse(java.lang.String value,
JCORefOut<BigInteger> result) |
static boolean |
TryParse(java.lang.String value,
NumberStyles style,
IFormatProvider provider,
JCORefOut<BigInteger> result) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BigInteger()
throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(byte[] value)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic BigInteger(Decimal value) throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(double value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionpublic BigInteger(int value)
throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(long value)
throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(Single value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionpublic BigInteger(UInt32 value) throws java.lang.Throwable
java.lang.Throwablepublic BigInteger(UInt64 value) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Abs(BigInteger value) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Add(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic static BigInteger cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BigInteger, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBigInteger instancejava.lang.Throwable - in case of error during cast operationpublic static int Compare(BigInteger left, BigInteger right) throws java.lang.Throwable
java.lang.Throwablepublic int CompareTo(BigInteger other) throws java.lang.Throwable
java.lang.Throwablepublic int CompareTo(long other)
throws java.lang.Throwable
java.lang.Throwablepublic int CompareTo(NetObject obj) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public int CompareTo(UInt64 other) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Divide(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic static BigInteger DivRem(BigInteger dividend, BigInteger divisor, JCORefOut<BigInteger> remainder) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic boolean Equals(BigInteger other) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(long other)
throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(UInt64 other) throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEven()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsOne()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPowerOfTwo()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsZero()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic static BigInteger getMinusOne() throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger getOne() throws java.lang.Throwable
java.lang.Throwablepublic int getSign()
throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger getZero() throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger GreatestCommonDivisor(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic static double Log(BigInteger value) throws java.lang.Throwable
java.lang.Throwablepublic static double Log(BigInteger value, double baseValue) throws java.lang.Throwable
java.lang.Throwablepublic static double Log10(BigInteger value) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Max(BigInteger left, BigInteger right) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Min(BigInteger left, BigInteger right) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public static BigInteger Multiply(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic static BigInteger Negate(BigInteger value) throws java.lang.Throwable
java.lang.Throwablepublic static BigInteger Parse(java.lang.String value) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic static BigInteger Parse(java.lang.String value, IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionpublic static BigInteger Parse(java.lang.String value, NumberStyles style) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic static BigInteger Parse(java.lang.String value, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionpublic static BigInteger Pow(BigInteger value, int exponent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public static BigInteger Remainder(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static BigInteger Subtract(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic byte[] ToByteArray()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException, OutOfMemoryException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionOutOfMemoryExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
FormatException,
OutOfMemoryException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionOutOfMemoryExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic java.lang.String ToString(java.lang.String format,
IFormatProvider provider)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
OutOfMemoryException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionOutOfMemoryExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static boolean TryParse(java.lang.String value,
JCORefOut<BigInteger> result)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
FormatException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic static boolean TryParse(java.lang.String value,
NumberStyles style,
IFormatProvider provider,
JCORefOut<BigInteger> result)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
TypeInitializationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException