Uses of Class
edu.neu.ccs.XBigDecimal

Packages that use XBigDecimal
edu.neu.ccs Provides the Stringable interface and data models that implement the interface. 
edu.neu.ccs.parser Provides classes for translating Strings into values of various data types using languages with simple lexical and syntactic structures. 
 

Uses of XBigDecimal in edu.neu.ccs
 

Methods in edu.neu.ccs that return XBigDecimal
static XBigDecimal XBigDecimal.setScale(XBigDecimal y, int scale)
          Returns a new XBigDecimal whose scale is the given scale and whose value is numerically equal to the given y.
static XBigDecimal XBigDecimal.setScale(XBigDecimal y, int scale, int roundingMode)
          Returns a new XBigDecimal whose scale is the given scale and whose unscaled value is determined by multiplying or dividing the unscaled value of the given y by the appropriate power of ten to maintain its overall value; if the scale is reduced by the operation, the unscaled value must be divided (rather than multiplied), and the value may be changed; in this case, the specified rounding mode is applied to the division.
static XBigDecimal XBigDecimal.movePointLeft(XBigDecimal y, int n)
          Returns a new XBigDecimal that is equivalent to the given y with the decimal point moved n places to the left.
static XBigDecimal XBigDecimal.movePointRight(XBigDecimal y, int n)
          Returns a new XBigDecimal that is equivalent to the given y with the decimal point moved n places to the right.
static XBigDecimal XBigDecimal.abs(XBigDecimal y)
          Returns a new XBigDecimal whose value is the absolute value of the given y.
static XBigDecimal XBigDecimal.negate(XBigDecimal y)
          Returns a new XBigDecimal whose value is the negation of the given y.
static XBigDecimal XBigDecimal.max(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is the maximum of the given x and y values.
static XBigDecimal XBigDecimal.min(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is the minimum of the given x and y values.
static XBigDecimal XBigDecimal.add(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x + y.
static XBigDecimal XBigDecimal.subtract(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x - y.
static XBigDecimal XBigDecimal.multiply(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x * y.
static XBigDecimal XBigDecimal.divide(XBigDecimal x, XBigDecimal y, int roundingMode)
          Returns a new XBigDecimal whose value is x / y and whose scale is x.scale().
static XBigDecimal XBigDecimal.divide(XBigDecimal x, XBigDecimal y, int scale, int roundingMode)
          Returns a new XBigDecimal whose value is x / y and whose scale is the given scale.
static XBigDecimal[] XBigDecimal.toXArray(BigDecimal[] a)
          Returns an array of XBigDecimal objects initialized from the given array of BigDecimal objects.
 

Methods in edu.neu.ccs with parameters of type XBigDecimal
 void XBigDecimal.setValue(XBigDecimal b)
          Sets the value wrapped by this object to the internal value of the given XBigDecimal value.
static XBigDecimal XBigDecimal.setScale(XBigDecimal y, int scale)
          Returns a new XBigDecimal whose scale is the given scale and whose value is numerically equal to the given y.
static XBigDecimal XBigDecimal.setScale(XBigDecimal y, int scale, int roundingMode)
          Returns a new XBigDecimal whose scale is the given scale and whose unscaled value is determined by multiplying or dividing the unscaled value of the given y by the appropriate power of ten to maintain its overall value; if the scale is reduced by the operation, the unscaled value must be divided (rather than multiplied), and the value may be changed; in this case, the specified rounding mode is applied to the division.
static XBigDecimal XBigDecimal.movePointLeft(XBigDecimal y, int n)
          Returns a new XBigDecimal that is equivalent to the given y with the decimal point moved n places to the left.
static XBigDecimal XBigDecimal.movePointRight(XBigDecimal y, int n)
          Returns a new XBigDecimal that is equivalent to the given y with the decimal point moved n places to the right.
static XBigDecimal XBigDecimal.abs(XBigDecimal y)
          Returns a new XBigDecimal whose value is the absolute value of the given y.
static XBigDecimal XBigDecimal.negate(XBigDecimal y)
          Returns a new XBigDecimal whose value is the negation of the given y.
 void XBigDecimal.max(XBigDecimal y)
          Sets this to max(this, y).
static XBigDecimal XBigDecimal.max(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is the maximum of the given x and y values.
 void XBigDecimal.min(XBigDecimal y)
          Sets this to min(this, y).
static XBigDecimal XBigDecimal.min(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is the minimum of the given x and y values.
 void XBigDecimal.add(XBigDecimal y)
          Sets this to (this + y).
static XBigDecimal XBigDecimal.add(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x + y.
 void XBigDecimal.subtract(XBigDecimal y)
          Sets this to (this - y).
static XBigDecimal XBigDecimal.subtract(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x - y.
 void XBigDecimal.multiply(XBigDecimal y)
          Sets this to (this * y).
static XBigDecimal XBigDecimal.multiply(XBigDecimal x, XBigDecimal y)
          Returns a new XBigDecimal whose value is x * y.
 void XBigDecimal.divide(XBigDecimal y, int roundingMode)
          Sets this to (this / y) and maintains the scale as this.scale().
static XBigDecimal XBigDecimal.divide(XBigDecimal x, XBigDecimal y, int roundingMode)
          Returns a new XBigDecimal whose value is x / y and whose scale is x.scale().
 void XBigDecimal.divide(XBigDecimal y, int scale, int roundingMode)
          Sets this to (this / y) using the given scale for the quotient.
static XBigDecimal XBigDecimal.divide(XBigDecimal x, XBigDecimal y, int scale, int roundingMode)
          Returns a new XBigDecimal whose value is x / y and whose scale is the given scale.
 int XBigDecimal.compareTo(XBigDecimal y)
          Compares this XBigDecimal with the specified XBigDecimal y.
static BigDecimal[] XBigDecimal.toPrimitiveArray(XBigDecimal[] x)
          Returns an array of BigDecimal objects copied from the given array of XBigDecimal objects.
 

Constructors in edu.neu.ccs with parameters of type XBigDecimal
XBigDecimal(XBigDecimal b)
          Constructs an XBigDecimal by copying the internal value of the given XBigDecimal.
 

Uses of XBigDecimal in edu.neu.ccs.parser
 

Methods in edu.neu.ccs.parser that return XBigDecimal
static XBigDecimal ParserUtilities.toXBigDecimal(XNumber value)
          Converts the given value to XBigDecimal.