Method Summary |
|
public Object | coerceToTarget(Object obj) Coerces a number to the target type of this expression. |
protected static String | defaultType(String targetType) Return the default computation type for the given target type. |
abstract public Object | evaluate() Compute the value of this expression. |
public void | rep(String rep) Set the representation of this expression. |
public String | rep() Get the representation of this expression. |
protected BigInteger | toSignedTarget(BigInteger b) Coerces an integral value (BigInteger) to its corresponding signed
representation, if the target type of this expression is signed. |
protected BigInteger | toUnsigned(BigInteger b) Return the unsigned value of a BigInteger. |
protected BigInteger | toUnsignedTarget(BigInteger b) Coerces an integral value (BigInteger) to its corresponding unsigned
representation, if the target type of this expression is unsigned. |
public void | type(String type) Set the target type of this expression. |
public String | type() Get the target type of this expression. |
public void | value(Object value) Set the value of this expression. |
public Object | value() Get the value of this expression. |