public class BigIntegerContent extends Object implements Content<BigIntegerContent>
| Constructor and Description |
|---|
BigIntegerContent(BigInteger v) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BigIntegerContent other)
Adding two values must result in a value that compares greater than or
equal to both input values.
|
BigIntegerContent |
clone()
Clones this value and produces another one that can be modified
independently.
|
int |
compareTo(BigIntegerContent o) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isOne() |
boolean |
isZero() |
void |
shiftRight(int n) |
String |
toString() |
BigInteger |
value() |
public BigIntegerContent(BigInteger v)
public BigInteger value()
public void add(BigIntegerContent other)
AdditiveValueadd in interface AdditiveValue<BigIntegerContent>public boolean isZero()
isZero in interface AdditiveValue<BigIntegerContent>public int compareTo(BigIntegerContent o)
compareTo in interface Comparable<BigIntegerContent>public void shiftRight(int n)
shiftRight in interface Content<BigIntegerContent>public boolean isOne()
isOne in interface Content<BigIntegerContent>public BigIntegerContent clone()
AdditiveValueclone in interface AdditiveValue<BigIntegerContent>clone in class ObjectCopyright © 2014. All Rights Reserved.