Package | Description |
---|---|
myBigInteger |
Modifier and Type | Class and Description |
---|---|
class |
AdditionOnlyInt
This class implements BigInt but only addition operation is actually implemented.
|
class |
AddSubInt
This BigIng extends AdditionOnlyInt with subtraction supported.
|
class |
SignedAddSubInt
This BigIng extends AddSubInt with sign supported.
|
class |
UnsignedBigInt |
Modifier and Type | Method and Description |
---|---|
void |
SignedAddSubInt.add(BigInt b)
Add an SignedAddSubInt mx into this BigInt.
|
void |
BigInt.add(BigInt x)
Add a BigInt x into this BigInt.
|
void |
AdditionOnlyInt.add(BigInt mx)
Add an AdditionOnlyInt mx into this BigInt.
|
int |
SignedAddSubInt.compareTo(BigInt b)
Override the default compareTo method
|
int |
AdditionOnlyInt.compareTo(BigInt o)
Override the default compareTo method
|
void |
UnsignedBigInt.div(BigInt ub,
BigInt ur) |
void |
BigInt.div(BigInt b,
BigInt r)
Students don't have to implement this method for Asg3.
|
void |
AdditionOnlyInt.div(BigInt b,
BigInt r)
Students don't have to implement this method for Asg3.
|
void |
SignedAddSubInt.subtract(BigInt b) |
void |
BigInt.subtract(BigInt x)
Subtract a BigInt x from this BigInt.
|
void |
AddSubInt.subtract(BigInt us) |
void |
AdditionOnlyInt.subtract(BigInt s)
Students don't have to implement this method for Asg3.
|
void |
UnsignedBigInt.times(BigInt ua) |
void |
BigInt.times(BigInt a)
Students don't have to implement this method for Asg3.
|
void |
AdditionOnlyInt.times(BigInt a)
Students don't have to implement this method for Asg3.
|