Uses of Class
edu.neu.ccs.XBigInteger

Packages that use XBigInteger
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 XBigInteger in edu.neu.ccs
 

Methods in edu.neu.ccs that return XBigInteger
static XBigInteger XBigInteger.abs(XBigInteger y)
          Returns a new XBigInteger whose value is the absolute value of the given y.
static XBigInteger XBigInteger.negate(XBigInteger y)
          Returns a new XBigInteger whose value is the negation of the given y.
static XBigInteger XBigInteger.max(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the maximum of the given x and y values.
static XBigInteger XBigInteger.min(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the minimum of the given x and y values.
static XBigInteger XBigInteger.add(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x + y.
static XBigInteger XBigInteger.subtract(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x - y.
static XBigInteger XBigInteger.multiply(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x * y.
static XBigInteger XBigInteger.divide(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x / y.
static XBigInteger XBigInteger.remainder(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x % y.
static XBigInteger[] XBigInteger.divideAndRemainder(XBigInteger x, XBigInteger y)
          Returns an array {quotient, remainder} after division of x by y.
static XBigInteger XBigInteger.mod(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x mod y.
static XBigInteger XBigInteger.modInverse(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the inverse of x modulo y.
static XBigInteger XBigInteger.pow(XBigInteger x, int e)
          Returns a new XBigInteger whose value is the given base x raised to the given exponent e which must be a non-negative integer.
static XBigInteger XBigInteger.modPow(XBigInteger x, XBigInteger e, XBigInteger y)
          Returns a new XBigInteger whose value is the given base x raised to the given exponent e modulo the given modulus y.
static XBigInteger XBigInteger.gcd(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is gcd(x, y) where "gcd" stands for "greatest common divisor".
static XBigInteger XBigInteger.lcm(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is lcm(x, y) where "lcm" stands for "least common multiple".
static XBigInteger XBigInteger.shiftLeft(XBigInteger x, int n)
          Returns a new XBigInteger whose value is (x << n); the shift distance, n, may be negative, in which case this method performs a right shift.
static XBigInteger XBigInteger.shiftRight(XBigInteger x, int n)
          Returns a new XBigInteger whose value is (x >> n); the shift distance, n, may be negative, in which case this method performs a left shift.
static XBigInteger XBigInteger.not(XBigInteger y)
          Returns a new XBigInteger whose value is the bitwise not of the given y.
static XBigInteger XBigInteger.and(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x & y.
static XBigInteger XBigInteger.or(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x | y.
static XBigInteger XBigInteger.xor(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x ^ y.
static XBigInteger XBigInteger.andNot(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x & ~y.
static XBigInteger XBigInteger.setBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit set.
static XBigInteger XBigInteger.clearBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit cleared.
static XBigInteger XBigInteger.flipBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit flipped.
static XBigInteger XBigInteger.factorial(int n)
          Returns factorial(n), that is, the product of the numbers from 1 to n.
static XBigInteger XBigInteger.binomial(int n, int k)
          Returns the binomial coefficient for n, k.
static XBigInteger[] XBigInteger.toXArray(BigInteger[] a)
          Returns an array of XBigInteger objects initialized from the given array of BigInteger objects.
 XBigInteger XBigDecimal.toUnscaledXBigInteger()
          Returns an XBigInteger whose value is the unscaled value of this XBigDecimal.
 XBigInteger XBigDecimal.toXBigInteger()
          Converts this XBigDecimal to an XBigInteger by truncation, that is, by discarding the fractional part of the number.
 

Methods in edu.neu.ccs with parameters of type XBigInteger
 void XBigInteger.setValue(XBigInteger b)
          Sets the value wrapped by this object to the internal value of the given XBigInteger value.
static XBigInteger XBigInteger.abs(XBigInteger y)
          Returns a new XBigInteger whose value is the absolute value of the given y.
static XBigInteger XBigInteger.negate(XBigInteger y)
          Returns a new XBigInteger whose value is the negation of the given y.
 void XBigInteger.max(XBigInteger y)
          Sets this to max(this, y).
static XBigInteger XBigInteger.max(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the maximum of the given x and y values.
 void XBigInteger.min(XBigInteger y)
          Sets this to min(this, y).
static XBigInteger XBigInteger.min(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the minimum of the given x and y values.
 void XBigInteger.add(XBigInteger y)
          Sets this to (this + y).
static XBigInteger XBigInteger.add(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x + y.
 void XBigInteger.subtract(XBigInteger y)
          Sets this to (this - y).
static XBigInteger XBigInteger.subtract(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x - y.
 void XBigInteger.multiply(XBigInteger y)
          Sets this to (this * y).
static XBigInteger XBigInteger.multiply(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x * y.
 void XBigInteger.divide(XBigInteger y)
          Sets this to (this / y).
static XBigInteger XBigInteger.divide(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x / y.
 void XBigInteger.remainder(XBigInteger y)
          Sets this to (this % y).
static XBigInteger XBigInteger.remainder(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x % y.
static XBigInteger[] XBigInteger.divideAndRemainder(XBigInteger x, XBigInteger y)
          Returns an array {quotient, remainder} after division of x by y.
 void XBigInteger.mod(XBigInteger y)
          Sets this to (this mod y).
static XBigInteger XBigInteger.mod(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x mod y.
 void XBigInteger.modInverse(XBigInteger y)
          Sets this to the inverse modulo y of this.
static XBigInteger XBigInteger.modInverse(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is the inverse of x modulo y.
static XBigInteger XBigInteger.pow(XBigInteger x, int e)
          Returns a new XBigInteger whose value is the given base x raised to the given exponent e which must be a non-negative integer.
 void XBigInteger.modPow(XBigInteger e, XBigInteger y)
          Sets this to the value of this raised to the given exponent e modulo the given modulus y.
static XBigInteger XBigInteger.modPow(XBigInteger x, XBigInteger e, XBigInteger y)
          Returns a new XBigInteger whose value is the given base x raised to the given exponent e modulo the given modulus y.
 void XBigInteger.gcd(XBigInteger y)
          Sets this to gcd(this, y) where "gcd" stands for "greatest common divisor".
static XBigInteger XBigInteger.gcd(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is gcd(x, y) where "gcd" stands for "greatest common divisor".
 void XBigInteger.lcm(XBigInteger y)
          Sets this to lcm(this, y) where "lcm" stands for "least common multiple".
static XBigInteger XBigInteger.lcm(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is lcm(x, y) where "lcm" stands for "least common multiple".
static XBigInteger XBigInteger.shiftLeft(XBigInteger x, int n)
          Returns a new XBigInteger whose value is (x << n); the shift distance, n, may be negative, in which case this method performs a right shift.
static XBigInteger XBigInteger.shiftRight(XBigInteger x, int n)
          Returns a new XBigInteger whose value is (x >> n); the shift distance, n, may be negative, in which case this method performs a left shift.
static XBigInteger XBigInteger.not(XBigInteger y)
          Returns a new XBigInteger whose value is the bitwise not of the given y.
 void XBigInteger.and(XBigInteger y)
          Sets this to (this & y).
static XBigInteger XBigInteger.and(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x & y.
 void XBigInteger.or(XBigInteger y)
          Sets this to (this | y).
static XBigInteger XBigInteger.or(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x | y.
 void XBigInteger.xor(XBigInteger y)
          Sets this to (this ^ y).
static XBigInteger XBigInteger.xor(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x ^ y.
 void XBigInteger.andNot(XBigInteger y)
          Sets this to (this & ~y).
static XBigInteger XBigInteger.andNot(XBigInteger x, XBigInteger y)
          Returns a new XBigInteger whose value is x & ~y.
static XBigInteger XBigInteger.setBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit set.
static XBigInteger XBigInteger.clearBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit cleared.
static XBigInteger XBigInteger.flipBit(XBigInteger x, int n)
          Returns a new XBigInteger whose value is equivalent to x with the n-th bit flipped.
 int XBigInteger.compareTo(XBigInteger y)
          Compares this XBigInteger with the specified XBigInteger y.
static BigInteger[] XBigInteger.toPrimitiveArray(XBigInteger[] x)
          Returns an array of BigInteger objects initialized from the given array of XBigInteger objects.
 void XBigDecimal.setValue(XBigInteger x)
          Translates an XBigInteger x into an XBigDecimal that is mathematically equal to x.
 void XBigDecimal.setValue(XBigInteger x, int scale)
          Translates an XBigInteger x and a scale into an XBigDecimal that is mathematically equal to x/10scale.
 

Constructors in edu.neu.ccs with parameters of type XBigInteger
XBigInteger(XBigInteger b)
          Constructs an XBigInteger by copying the internal value of the given XBigInteger.
XBigDecimal(XBigInteger x)
          Translates an XBigInteger x into an XBigDecimal that is mathematically equal to x.
XBigDecimal(XBigInteger x, int scale)
          Translates an XBigInteger x and a scale into an XBigDecimal that is mathematically equal to x/10scale.
 

Uses of XBigInteger in edu.neu.ccs.parser
 

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

Methods in edu.neu.ccs.parser with parameters of type XBigInteger
 Object NumericOperation.unaryForXIntegral(XBigInteger a)
          Override this method to specify the result of this operation acting as a unary operation on an integral argument.
 Object NumericOperation.binaryForXIntegral(XBigInteger a, XBigInteger b)
          Override this method to specify the result of this operation acting as a binary operation on integral arguments.
 Object BooleanOperation.unaryForXIntegral(XBigInteger a)
          Override this method to specify the result of this operation acting as a unary operation on an integral argument.
 Object BooleanOperation.binaryForXIntegral(XBigInteger a, XBigInteger b)
          Override this method to specify the result of this operation acting as a binary operation on integral arguments.