Package system.numerics
Class BigInteger
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.BigInteger
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class BigInteger extends ValueType
The base .NET class managing System.Numerics.BigInteger, System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.BigInteger
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Numericsstatic java.lang.String
className
Qualified class name: System.Numerics.BigIntegerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description BigInteger()
BigInteger(byte[] value)
BigInteger(double value)
BigInteger(int value)
BigInteger(long value)
BigInteger(java.lang.Object instance)
Internal constructor.BigInteger(Decimal value)
BigInteger(Single value)
BigInteger(UInt32 value)
BigInteger(UInt64 value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BigInteger
Abs(BigInteger value)
static BigInteger
Add(BigInteger left, BigInteger right)
static BigInteger
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoBigInteger
, a cast assert is made to check if types are compatible.static int
Compare(BigInteger left, BigInteger right)
int
CompareTo(long other)
int
CompareTo(NetObject obj)
int
CompareTo(BigInteger other)
int
CompareTo(UInt64 other)
static BigInteger
Divide(BigInteger dividend, BigInteger divisor)
static BigInteger
DivRem(BigInteger dividend, BigInteger divisor, JCORefOut<BigInteger> remainder)
boolean
Equals(long other)
boolean
Equals(BigInteger other)
boolean
Equals(UInt64 other)
boolean
getIsEven()
boolean
getIsOne()
boolean
getIsPowerOfTwo()
boolean
getIsZero()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic 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, NumberStyles style)
static BigInteger
Parse(java.lang.String value, NumberStyles style, IFormatProvider provider)
static BigInteger
Parse(java.lang.String value, 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(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider provider)
java.lang.String
ToString(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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Numerics- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Numerics.BigInteger- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BigInteger
public BigInteger(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger(byte[] value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
BigInteger
public BigInteger(double value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
-
BigInteger
public BigInteger(int value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger(long value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger(Single value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
-
BigInteger
public BigInteger(Decimal value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger(UInt32 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BigInteger
public BigInteger(UInt64 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static BigInteger cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoBigInteger
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
BigInteger
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(long other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(BigInteger other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(UInt64 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TryParse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
TryParse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
ToByteArray
public byte[] ToByteArray() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
Log
public static double Log(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Log
public static double Log(BigInteger value, double baseValue) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Log10
public static double Log10(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Compare
public static int Compare(BigInteger left, BigInteger right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(long other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(BigInteger other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(NetObject obj) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
CompareTo
public int CompareTo(UInt64 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Abs
public static BigInteger Abs(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static BigInteger Add(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
Divide
public static BigInteger Divide(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
DivRem
public static BigInteger DivRem(BigInteger dividend, BigInteger divisor, JCORefOut<BigInteger> remainder) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
GreatestCommonDivisor
public static BigInteger GreatestCommonDivisor(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
Max
public static BigInteger Max(BigInteger left, BigInteger right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Min
public static BigInteger Min(BigInteger left, BigInteger right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ModPow
public static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Multiply
public static BigInteger Multiply(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
Negate
public static BigInteger Negate(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Parse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
Parse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
Parse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
-
Parse
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
-
Pow
public static BigInteger Pow(BigInteger value, int exponent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Remainder
public static BigInteger Remainder(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
Subtract
public static BigInteger Subtract(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
ToString
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
OutOfMemoryException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
ToString
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
FormatException
OutOfMemoryException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
-
ToString
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
TypeInitializationException
OutOfMemoryException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
getIsEven
public boolean getIsEven() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsOne
public boolean getIsOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsPowerOfTwo
public boolean getIsPowerOfTwo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsZero
public boolean getIsZero() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSign
public int getSign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMinusOne
public static BigInteger getMinusOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOne
public static BigInteger getOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getZero
public static BigInteger getZero() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-