|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Performs some useful conversions between DataHolders of various types. Is implemented by all DataHolders this is used to allow conversion between all types of data obtained as results of expression evaluation *NOTE* none of the operations that return a Result does not gurantees the integrity of the operands ( and often the returned Result is one of them). So, *do not* use them after one of these ! Use getxxx to make a copy when necessary.
| Method Summary | |
Result |
add(Result r)
|
void |
bAnd(Result r)
|
void |
bAndR()
|
void |
bNAnd(Result r)
|
void |
bNAndR()
|
void |
bNOr(Result r)
|
void |
bNOrR()
|
void |
bNot()
|
void |
bNXor(Result r)
|
void |
bNXOrR()
|
void |
bOr(Result r)
|
void |
bOrR()
|
void |
bXor(Result r)
|
void |
bXOrR()
|
Result |
cEq(Result r)
case equality |
Result |
cNEq(Result r)
case nonequality |
Result |
div(Result r)
|
Result |
duplicate()
works pretty much like clone |
Result |
ge(Result r)
greater than |
BitVector |
getBits()
|
int |
getBool()
|
BitVector |
getInt()
|
long |
getLong()
Returns the long value closest to this Result |
Real |
getReal()
|
int |
getType()
Returns the type of this result. |
Result |
gt(Result r)
greather than |
boolean |
isDefined()
Checks whether this reult is defined (unambiguous (x, z)). |
boolean |
isTrue()
Checks whether this Result is true. |
Result |
le(Result r)
lower or equal than |
int |
length()
|
Result |
lEq(Result r)
|
Result |
lNEq(Result r)
|
void |
lNot()
|
Result |
lt(Result r)
lower than |
Result |
mod(Result r)
|
Result |
mul(Result r)
|
void |
neg()
|
void |
shl(Result r)
|
void |
shr(Result r)
|
Result |
sub(Result r)
|
java.lang.String |
toString(int base)
Returns the String representation in the specified base. |
| Method Detail |
public Real getReal()
public BitVector getBits()
public BitVector getInt()
public int getBool()
public long getLong()
public Result duplicate()
public void shl(Result r)
throws InterpretTimeException
public void shr(Result r)
throws InterpretTimeException
public void neg()
public void bAndR()
throws InterpretTimeException
public void bOrR()
throws InterpretTimeException
public void bXOrR()
throws InterpretTimeException
public void bNAndR()
throws InterpretTimeException
public void bNOrR()
throws InterpretTimeException
public void bNXOrR()
throws InterpretTimeException
public void bNot()
throws InterpretTimeException
public void lNot()
public Result lEq(Result r)
public Result lNEq(Result r)
public void bOr(Result r)
throws InterpretTimeException
public void bNOr(Result r)
throws InterpretTimeException
public void bAnd(Result r)
throws InterpretTimeException
public void bNAnd(Result r)
throws InterpretTimeException
public void bXor(Result r)
throws InterpretTimeException
public void bNXor(Result r)
throws InterpretTimeException
public Result cEq(Result r)
throws InterpretTimeException
public Result cNEq(Result r)
throws InterpretTimeException
public Result lt(Result r)
public Result gt(Result r)
public Result le(Result r)
public Result ge(Result r)
public Result add(Result r)
public Result sub(Result r)
public Result mul(Result r)
public Result div(Result r)
public Result mod(Result r)
throws InterpretTimeException
public boolean isDefined()
public boolean isTrue()
public java.lang.String toString(int base)
public int getType()
Symbolpublic int length()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||