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.Runtime.Numerics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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.Runtime.Numerics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Runtime.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 BigInteger
Clamp(BigInteger value, BigInteger min, BigInteger max)
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
CopySign(BigInteger value, BigInteger sign)
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)
long
GetBitLength()
int
GetByteCount(boolean isUnsigned)
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 boolean
IsEvenInteger(BigInteger value)
static boolean
IsNegative(BigInteger value)
static boolean
IsOddInteger(BigInteger value)
static boolean
IsPositive(BigInteger value)
static boolean
IsPow2(BigInteger value)
static BigInteger
LeadingZeroCount(BigInteger value)
static double
Log(BigInteger value)
static double
Log(BigInteger value, double baseValue)
static double
Log10(BigInteger value)
static BigInteger
Log2(BigInteger value)
static BigInteger
Max(BigInteger left, BigInteger right)
static BigInteger
MaxMagnitude(BigInteger x, BigInteger y)
static BigInteger
Min(BigInteger left, BigInteger right)
static BigInteger
MinMagnitude(BigInteger x, BigInteger y)
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
PopCount(BigInteger value)
static BigInteger
Pow(BigInteger value, int exponent)
static BigInteger
Remainder(BigInteger dividend, BigInteger divisor)
static BigInteger
RotateLeft(BigInteger value, int rotateAmount)
static BigInteger
RotateRight(BigInteger value, int rotateAmount)
void
setJCOInstance(JCObject instance)
static BigInteger
Subtract(BigInteger left, BigInteger right)
byte[]
ToByteArray()
byte[]
ToByteArray(boolean isUnsigned, boolean isBigEndian)
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 BigInteger
TrailingZeroCount(BigInteger value)
static boolean
TryParse(java.lang.String value, JCORefOut<BigInteger> result)
static boolean
TryParse(java.lang.String value, NumberStyles style, IFormatProvider provider, JCORefOut<BigInteger> result)
static boolean
TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<BigInteger> result)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Numerics, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Runtime.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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
-
BigInteger
public BigInteger(double value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OverflowException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
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, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
BigInteger
public BigInteger(Decimal value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
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, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException
-
Equals
public boolean Equals(UInt64 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsEvenInteger
public static boolean IsEvenInteger(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNegative
public static boolean IsNegative(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsOddInteger
public static boolean IsOddInteger(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsPositive
public static boolean IsPositive(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsPow2
public static boolean IsPow2(BigInteger value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException
-
TryParse
public static boolean TryParse(java.lang.String value, NumberStyles style, IFormatProvider provider, JCORefOut<BigInteger> result) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, ObjectDisposedException, InvalidOperationException, OverflowException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
NullReferenceException
NotSupportedException
ObjectDisposedException
InvalidOperationException
OverflowException
ArrayTypeMismatchException
-
TryParse
public static boolean TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<BigInteger> result) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, InvalidOperationException, OverflowException, ArrayTypeMismatchException
-
TryParse
public static boolean TryParse(java.lang.String value, JCORefOut<BigInteger> result) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, TypeInitializationException, InvalidOperationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
TypeInitializationException
InvalidOperationException
OverflowException
-
ToByteArray
public byte[] ToByteArray() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, ArrayTypeMismatchException
-
ToByteArray
public byte[] ToByteArray(boolean isUnsigned, boolean isBigEndian) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, ArrayTypeMismatchException
-
Log
public static double Log(BigInteger value, double baseValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Log
public static double Log(BigInteger value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
Log10
public static double Log10(BigInteger value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
Compare
public static int Compare(BigInteger left, BigInteger right) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
-
CompareTo
public int CompareTo(long other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(BigInteger other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
-
CompareTo
public int CompareTo(NetObject obj) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
CompareTo
public int CompareTo(UInt64 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetByteCount
public int GetByteCount(boolean isUnsigned) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, ArrayTypeMismatchException
-
GetBitLength
public long GetBitLength() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Abs
public static BigInteger Abs(BigInteger value) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
PlatformNotSupportedException
OverflowException
-
Add
public static BigInteger Add(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException
-
Clamp
public static BigInteger Clamp(BigInteger value, BigInteger min, BigInteger max) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException
-
CopySign
public static BigInteger CopySign(BigInteger value, BigInteger sign) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
OverflowException
-
Divide
public static BigInteger Divide(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, OverflowException
-
DivRem
public static BigInteger DivRem(BigInteger dividend, BigInteger divisor, JCORefOut<BigInteger> remainder) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
GreatestCommonDivisor
public static BigInteger GreatestCommonDivisor(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OverflowException, IndexOutOfRangeException, ArrayTypeMismatchException
-
LeadingZeroCount
public static BigInteger LeadingZeroCount(BigInteger value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
Log2
public static BigInteger Log2(BigInteger value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
Max
public static BigInteger Max(BigInteger left, BigInteger right) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
-
MaxMagnitude
public static BigInteger MaxMagnitude(BigInteger x, BigInteger y) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException
-
Min
public static BigInteger Min(BigInteger left, BigInteger right) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
-
MinMagnitude
public static BigInteger MinMagnitude(BigInteger x, BigInteger y) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException
-
ModPow
public static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Multiply
public static BigInteger Multiply(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException
-
Negate
public static BigInteger Negate(BigInteger value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
OverflowException
-
Parse
public static BigInteger Parse(java.lang.String value, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, NullReferenceException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CultureNotFoundException
IndexOutOfRangeException
NullReferenceException
OverflowException
-
Parse
public static BigInteger Parse(java.lang.String value, NumberStyles style) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, TypeInitializationException, InvalidOperationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
TypeInitializationException
InvalidOperationException
OverflowException
-
Parse
public static BigInteger Parse(java.lang.String value, IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, InvalidOperationException, OverflowException, ArrayTypeMismatchException
-
Parse
public static BigInteger Parse(java.lang.String value) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, TypeInitializationException, OverflowException, InvalidOperationException
- Throws:
java.lang.Throwable
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
TypeInitializationException
OverflowException
InvalidOperationException
-
PopCount
public static BigInteger PopCount(BigInteger value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Pow
public static BigInteger Pow(BigInteger value, int exponent) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OverflowException
-
Remainder
public static BigInteger Remainder(BigInteger dividend, BigInteger divisor) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArrayTypeMismatchException, OverflowException
-
RotateLeft
public static BigInteger RotateLeft(BigInteger value, int rotateAmount) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException
-
RotateRight
public static BigInteger RotateRight(BigInteger value, int rotateAmount) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException
-
Subtract
public static BigInteger Subtract(BigInteger left, BigInteger right) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException
-
TrailingZeroCount
public static BigInteger TrailingZeroCount(BigInteger value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
ToString
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, InvalidOperationException, FormatException, OverflowException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
NullReferenceException
NotSupportedException
InvalidOperationException
FormatException
OverflowException
ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, InvalidOperationException, FormatException, OverflowException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
NullReferenceException
NotSupportedException
InvalidOperationException
FormatException
OverflowException
ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, TypeInitializationException, InvalidOperationException, FormatException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
TypeInitializationException
InvalidOperationException
FormatException
OverflowException
-
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, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException
-
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
-
-