Generated by
JDiff

Class java.math.BigDecimal

Added Constructors
BigDecimal(char[]) Translates a character array representation of a BigDecimal into a BigDecimal, accepting the same sequence of characters as the .BigDecimal(String) constructor.
BigDecimal(char[], int, int) Translates a character array representation of a BigDecimal into a BigDecimal, accepting the same sequence of characters as the .BigDecimal(String) constructor, while allowing a sub-array to be specified.
BigDecimal(char[], int, int, MathContext) Translates a character array representation of a BigDecimal into a BigDecimal, accepting the same sequence of characters as the .BigDecimal(String) constructor, while allowing a sub-array to be specified and with rounding according to the context settings.
BigDecimal(char[], MathContext) Translates a character array representation of a BigDecimal into a BigDecimal, accepting the same sequence of characters as the .BigDecimal(String) constructor and with rounding according to the context settings.
BigDecimal(double, MathContext) Translates a double into a BigDecimal, with rounding according to the context settings.
BigDecimal(int) Translates an int into a BigDecimal.
BigDecimal(int, MathContext) Translates an int into a BigDecimal, with rounding according to the context settings.
BigDecimal(String, MathContext) Translates the string representation of a BigDecimal into a BigDecimal, accepting the same strings as the .BigDecimal(String) constructor, with rounding according to the context settings.
BigDecimal(BigInteger, int, MathContext) Translates a BigInteger unscaled value and an int scale into a BigDecimal, with rounding according to the context settings.
BigDecimal(BigInteger, MathContext) Translates a BigInteger into a BigDecimal rounding according to the context settings.
BigDecimal(long) Translates a long into a BigDecimal.
BigDecimal(long, MathContext) Translates a long into a BigDecimal, with rounding according to the context settings.
 

Removed Methods
int compareTo(Object) Compares this BigDecimal with the specified Object.
 

Added Methods
BigDecimal abs(MathContext) Returns a BigDecimal whose value is the absolute value of this BigDecimal, with rounding according to the context settings.
BigDecimal add(BigDecimal, MathContext) Returns a BigDecimal whose value is (this + augend), with rounding according to the context settings.
byte byteValueExact() Converts this BigDecimal to a byte, checking for lost information.
BigDecimal divide(BigDecimal) Returns a BigDecimal whose value is (this / divisor), and whose preferred scale is (this.scale() - divisor.scale()); if the exact quotient cannot be represented (because it has a non-terminating decimal expansion) an ArithmeticException is thrown.
BigDecimal divide(BigDecimal, int, RoundingMode) Returns a BigDecimal whose value is (this / divisor), and whose scale is as specified.
BigDecimal divide(BigDecimal, MathContext) Returns a BigDecimal whose value is (this / divisor), with rounding according to the context settings.
BigDecimal divide(BigDecimal, RoundingMode) Returns a BigDecimal whose value is (this / divisor), and whose scale is this.scale().
BigDecimal[] divideAndRemainder(BigDecimal) Returns a two-element BigDecimal array containing the result of divideToIntegralValue followed by the result of remainder on the two operands.
BigDecimal[] divideAndRemainder(BigDecimal, MathContext) Returns a two-element BigDecimal array containing the result of divideToIntegralValue followed by the result of remainder on the two operands calculated with rounding according to the context settings.
BigDecimal divideToIntegralValue(BigDecimal) Returns a BigDecimal whose value is the integer part of the quotient (this / divisor) rounded down.
BigDecimal divideToIntegralValue(BigDecimal, MathContext) Returns a BigDecimal whose value is the integer part of (this / divisor).
int intValueExact() Converts this BigDecimal to an int, checking for lost information.
long longValueExact() Converts this BigDecimal to a long, checking for lost information.
BigDecimal multiply(BigDecimal, MathContext) Returns a BigDecimal whose value is (this × multiplicand), with rounding according to the context settings.
BigDecimal negate(MathContext) Returns a BigDecimal whose value is (-this), with rounding according to the context settings.
BigDecimal plus() Returns a BigDecimal whose value is (+this), and whose scale is this.scale().
BigDecimal plus(MathContext) Returns a BigDecimal whose value is (+this), with rounding according to the context settings.
BigDecimal pow(int) Returns a BigDecimal whose value is (thisn), The power is computed exactly, to unlimited precision.
BigDecimal pow(int, MathContext) Returns a BigDecimal whose value is (thisn).
int precision() Returns the precision of this BigDecimal.
BigDecimal remainder(BigDecimal) Returns a BigDecimal whose value is (this % divisor).
BigDecimal remainder(BigDecimal, MathContext) Returns a BigDecimal whose value is (this % divisor), with rounding according to the context settings.
BigDecimal round(MathContext) Returns a BigDecimal rounded according to the MathContext settings.
BigDecimal scaleByPowerOfTen(int) Returns a BigDecimal whose numerical value is equal to (this * 10n).
BigDecimal setScale(int, RoundingMode) Returns a BigDecimal whose scale is the specified value, and whose unscaled value is determined by multiplying or dividing this BigDecimal's unscaled value by the appropriate power of ten to maintain its overall value.
short shortValueExact() Converts this BigDecimal to a short, checking for lost information.
BigDecimal stripTrailingZeros() Returns a BigDecimal which is numerically equal to this one but with any trailing zeros removed from the representation.
BigDecimal subtract(BigDecimal, MathContext) Returns a BigDecimal whose value is (this - subtrahend), with rounding according to the context settings.
BigInteger toBigIntegerExact() Converts this BigDecimal to a BigInteger, checking for lost information.
String toEngineeringString() Returns a string representation of this BigDecimal, using engineering notation if an exponent is needed.
BigDecimal ulp() Returns the size of an ulp, a unit in the last place, of this BigDecimal.
BigDecimal valueOf(double) Translates a double into a BigDecimal, using the double's canonical string representation provided by the Double.toString(double) method.
 

Added Fields
BigDecimal ONE The value 1, with a scale of 0.
BigDecimal TEN The value 10, with a scale of 0.
BigDecimal ZERO The value 0, with a scale of 0.