|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.util.graph.impl.NodeWithNumber
com.ibm.wala.fixpoint.AbstractStatement<T,NullaryOperator<T>>
com.ibm.wala.fixedpoint.impl.NullaryStatement<T>
public abstract class NullaryStatement<T extends IVariable>
Represents a single step, restricted to a nullary operator.
| Field Summary | |
|---|---|
protected T |
lhs
The operands |
| Constructor Summary | |
|---|---|
protected |
NullaryStatement(T lhs)
Constructor for case of one operand on the right-hand side. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
byte |
evaluate()
Evaluate this equation, setting a new value for the left-hand side. |
T |
getLHS()
Return the left-hand side of this equation. |
T[] |
getRHS()
returns the list of free variables appearing in the right-hand side of the statement |
int |
hashCode()
Subclasses must implement this, to prevent non-determinism. |
boolean |
hasVariable(T cell)
Does this equation contain an appearance of a given cell? |
| Methods inherited from class com.ibm.wala.fixpoint.AbstractStatement |
|---|
getOperator, getOrderNumber, toString |
| Methods inherited from class com.ibm.wala.util.graph.impl.NodeWithNumber |
|---|
getGraphNodeId, setGraphNodeId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.wala.util.graph.INodeWithNumber |
|---|
getGraphNodeId, setGraphNodeId |
| Field Detail |
|---|
protected final T extends IVariable lhs
| Constructor Detail |
|---|
protected NullaryStatement(T lhs)
lhs - the lattice cell set by this equation| Method Detail |
|---|
public byte evaluate()
public T getLHS()
public boolean hasVariable(T cell)
cell - the cell in question
public boolean equals(java.lang.Object o)
equals in class AbstractStatement<T extends IVariable,NullaryOperator<T extends IVariable>>public int hashCode()
AbstractStatement
hashCode in class AbstractStatement<T extends IVariable,NullaryOperator<T extends IVariable>>
public T[] getRHS()
throws java.lang.UnsupportedOperationException
IFixedPointStatement
java.lang.UnsupportedOperationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||