|
|||||||||
| 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.AbstractVariable<BitVectorVariable>
com.ibm.wala.fixpoint.BitVectorVariable
public class BitVectorVariable
A bit vector variable for dataflow analysis.
| Constructor Summary | |
|---|---|
BitVectorVariable()
|
|
| Method Summary | |
|---|---|
void |
addAll(BitVector B)
Add all the bits in B to this bit vector |
void |
addAll(BitVectorVariable other)
Add all the bits from other to this bit vector |
void |
clear(int i)
|
void |
copyState(BitVectorVariable other)
Set this variable to have the same state as another one |
boolean |
equals(java.lang.Object obj)
|
boolean |
get(int b)
Is a particular bit set? |
IntSet |
getValue()
|
int |
populationCount()
|
boolean |
sameValue(BitVectorVariable other)
Does this variable have the same value as another? |
void |
set(int b)
Set a particular bit |
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.wala.fixpoint.AbstractVariable |
|---|
getOrderNumber, hashCode, nextHash, setOrderNumber |
| 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 |
| Constructor Detail |
|---|
public BitVectorVariable()
| Method Detail |
|---|
public void copyState(BitVectorVariable other)
IVariable
public void addAll(BitVector B)
public void addAll(BitVectorVariable other)
public boolean sameValue(BitVectorVariable other)
public java.lang.String toString()
toString in class java.lang.Objectpublic void set(int b)
b - the bit to setpublic boolean get(int b)
b - the bit to checkpublic IntSet getValue()
public void clear(int i)
public boolean equals(java.lang.Object obj)
equals in class AbstractVariable<BitVectorVariable>public int populationCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||