public interface BigInt extends java.lang.Comparable<BigInt>
Modifier and Type | Method and Description |
---|---|
void |
add(BigInt x)
Add a BigInt x into this BigInt.
|
void |
div(BigInt b,
BigInt r)
Students don't have to implement this method for Asg3.
|
void |
subtract(BigInt x)
Subtract a BigInt x from this BigInt.
|
void |
times(BigInt a)
Students don't have to implement this method for Asg3.
|
void add(BigInt x)
x
- to be addedvoid subtract(BigInt x)
x
- to be substractedvoid times(BigInt a)
a
- is the multiplier