Class BigDecimal
public class BigDecimal : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>BigDecimal
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
BigDecimal()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public BigDecimal()
BigDecimal(String)
public BigDecimal(String arg0)
Parameters
BigDecimal(String, MathContext)
public BigDecimal(String arg0, MathContext arg1)
Parameters
arg0
Stringarg1
MathContext
BigDecimal(BigInteger)
public BigDecimal(BigInteger arg0)
Parameters
arg0
BigInteger
BigDecimal(BigInteger, MathContext)
public BigDecimal(BigInteger arg0, MathContext arg1)
Parameters
arg0
BigIntegerarg1
MathContext
BigDecimal(BigInteger, int)
public BigDecimal(BigInteger arg0, int arg1)
Parameters
arg0
BigIntegerarg1
int
BigDecimal(BigInteger, int, MathContext)
public BigDecimal(BigInteger arg0, int arg1, MathContext arg2)
Parameters
arg0
BigIntegerarg1
intarg2
MathContext
BigDecimal(char[])
public BigDecimal(char[] arg0)
Parameters
BigDecimal(char[], MathContext)
public BigDecimal(char[] arg0, MathContext arg1)
Parameters
arg0
char[]arg1
MathContext
BigDecimal(char[], int, int)
public BigDecimal(char[] arg0, int arg1, int arg2)
Parameters
BigDecimal(char[], int, int, MathContext)
public BigDecimal(char[] arg0, int arg1, int arg2, MathContext arg3)
Parameters
arg0
char[]arg1
intarg2
intarg3
MathContext
BigDecimal(double)
public BigDecimal(double arg0)
Parameters
BigDecimal(double, MathContext)
public BigDecimal(double arg0, MathContext arg1)
Parameters
arg0
doublearg1
MathContext
BigDecimal(int)
public BigDecimal(int arg0)
Parameters
BigDecimal(int, MathContext)
public BigDecimal(int arg0, MathContext arg1)
Parameters
arg0
intarg1
MathContext
BigDecimal(long)
public BigDecimal(long arg0)
Parameters
BigDecimal(long, MathContext)
public BigDecimal(long arg0, MathContext arg1)
Parameters
arg0
longarg1
MathContext
BigDecimal(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 BigDecimal(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
ONE
public static BigDecimal ONE { get; }
Property Value
TEN
public static BigDecimal TEN { get; }
Property Value
ZERO
public static BigDecimal ZERO { get; }
Property Value
Methods
Abs()
public BigDecimal Abs()
Returns
Abs(MathContext)
public BigDecimal Abs(MathContext arg0)
Parameters
arg0
MathContext
Returns
Add(BigDecimal)
public BigDecimal Add(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Add(BigDecimal, MathContext)
public BigDecimal Add(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
ByteValueExact()
public byte ByteValueExact()
Returns
CompareTo(BigDecimal)
public int CompareTo(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Divide(BigDecimal)
public BigDecimal Divide(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Divide(BigDecimal, MathContext)
public BigDecimal Divide(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
Divide(BigDecimal, RoundingMode)
public BigDecimal Divide(BigDecimal arg0, RoundingMode arg1)
Parameters
arg0
BigDecimalarg1
RoundingMode
Returns
Divide(BigDecimal, int, RoundingMode)
public BigDecimal Divide(BigDecimal arg0, int arg1, RoundingMode arg2)
Parameters
arg0
BigDecimalarg1
intarg2
RoundingMode
Returns
DivideAndRemainder(BigDecimal)
public BigDecimal[] DivideAndRemainder(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
DivideAndRemainder(BigDecimal, MathContext)
public BigDecimal[] DivideAndRemainder(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
DivideToIntegralValue(BigDecimal)
public BigDecimal DivideToIntegralValue(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
DivideToIntegralValue(BigDecimal, MathContext)
public BigDecimal DivideToIntegralValue(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
IntValueExact()
public int IntValueExact()
Returns
LongValueExact()
public long LongValueExact()
Returns
Max(BigDecimal)
public BigDecimal Max(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Min(BigDecimal)
public BigDecimal Min(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
MovePointLeft(int)
public BigDecimal MovePointLeft(int arg0)
Parameters
Returns
MovePointRight(int)
public BigDecimal MovePointRight(int arg0)
Parameters
Returns
Multiply(BigDecimal)
public BigDecimal Multiply(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Multiply(BigDecimal, MathContext)
public BigDecimal Multiply(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
Negate()
public BigDecimal Negate()
Returns
Negate(MathContext)
public BigDecimal Negate(MathContext arg0)
Parameters
arg0
MathContext
Returns
Plus()
public BigDecimal Plus()
Returns
Plus(MathContext)
public BigDecimal Plus(MathContext arg0)
Parameters
arg0
MathContext
Returns
Pow(int)
public BigDecimal Pow(int arg0)
Parameters
Returns
Pow(int, MathContext)
public BigDecimal Pow(int arg0, MathContext arg1)
Parameters
arg0
intarg1
MathContext
Returns
Precision()
public int Precision()
Returns
Remainder(BigDecimal)
public BigDecimal Remainder(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Remainder(BigDecimal, MathContext)
public BigDecimal Remainder(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
Round(MathContext)
public BigDecimal Round(MathContext arg0)
Parameters
arg0
MathContext
Returns
Scale()
public int Scale()
Returns
ScaleByPowerOfTen(int)
public BigDecimal ScaleByPowerOfTen(int arg0)
Parameters
Returns
SetScale(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html#setScale(int)
public BigDecimal SetScale(int arg0)
Parameters
Returns
SetScale(int, RoundingMode)
public BigDecimal SetScale(int arg0, RoundingMode arg1)
Parameters
arg0
intarg1
RoundingMode
Returns
ShortValueExact()
public short ShortValueExact()
Returns
Signum()
public int Signum()
Returns
Sqrt(MathContext)
public BigDecimal Sqrt(MathContext arg0)
Parameters
arg0
MathContext
Returns
StripTrailingZeros()
public BigDecimal StripTrailingZeros()
Returns
Subtract(BigDecimal)
public BigDecimal Subtract(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Subtract(BigDecimal, MathContext)
public BigDecimal Subtract(BigDecimal arg0, MathContext arg1)
Parameters
arg0
BigDecimalarg1
MathContext
Returns
ToBigInteger()
public BigInteger ToBigInteger()
Returns
ToBigIntegerExact()
public BigInteger ToBigIntegerExact()
Returns
ToEngineeringString()
public String ToEngineeringString()
Returns
ToPlainString()
public String ToPlainString()
Returns
Ulp()
public BigDecimal Ulp()
Returns
UnscaledValue()
public BigInteger UnscaledValue()
Returns
ValueOf(double)
public static BigDecimal ValueOf(double arg0)
Parameters
Returns
ValueOf(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html#valueOf(long)
public static BigDecimal ValueOf(long arg0)
Parameters
Returns
ValueOf(long, int)
public static BigDecimal ValueOf(long arg0, int arg1)
Parameters
Returns
Operators
implicit operator Comparable(BigDecimal)
Converter from BigDecimal to Comparable
public static implicit operator Comparable(BigDecimal t)