|
|||||||||
| 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.fixedpoint.impl.AbstractVariable<T>
com.ibm.wala.fixpoint.IntSetVariable<T>
public abstract class IntSetVariable<T extends IntSetVariable>
A variable for dataflow analysis, representing a set of integers. TODO: optimize the representation more; e.g. BitVectors with non-zero lower bound.
| Constructor Summary | |
|---|---|
IntSetVariable()
|
|
| Method Summary | |
|---|---|
void |
add(int b)
Set a particular bit |
boolean |
addAll(IntSet B)
Add all integers from the set B |
boolean |
addAll(T other)
Add all integers from the other int set variable. |
boolean |
addAllInIntersection(IntSet other,
IntSet filter)
|
boolean |
addAllInIntersection(T other,
IntSet filter)
|
boolean |
contains(int b)
Is a particular bit set? |
boolean |
containsAny(IntSet instances)
|
void |
copyState(T other)
Set this variable to have the same state as another one |
MutableIntSet |
getValue()
|
abstract int |
hashCode()
|
void |
remove(int i)
|
void |
removeAll()
|
boolean |
sameValue(IntSetVariable other)
|
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.wala.fixedpoint.impl.AbstractVariable |
|---|
equals, getOrderNumber, 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 IntSetVariable()
| Method Detail |
|---|
public void copyState(T other)
IVariable
public boolean addAll(IntSet B)
B -
public boolean addAll(T other)
public boolean sameValue(IntSetVariable other)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void add(int b)
b - the bit to setpublic boolean contains(int b)
b - the bit to checkpublic MutableIntSet getValue()
public void remove(int i)
i - public abstract int hashCode()
hashCode in class AbstractVariable<T extends IntSetVariable>public int size()
public boolean containsAny(IntSet instances)
public boolean addAllInIntersection(T other,
IntSet filter)
public boolean addAllInIntersection(IntSet other,
IntSet filter)
public void removeAll()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||