|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--soot.toolkits.scalar.ArraySparseSet
Reference implementation for a FlowSet. Items are stored in an Array.
| Constructor Summary | |
ArraySparseSet()
|
|
| Method Summary | |
void |
add(java.lang.Object e)
|
void |
add(java.lang.Object obj,
FlowSet destFlow)
Adds obj to dest. |
void |
clear()
Sets this FlowSet to the empty set (more generally, the bottom element of the lattice.) |
java.lang.Object |
clone()
Clones the current FlowSet. |
boolean |
contains(java.lang.Object obj)
Returns true if this FlowSet contains obj. |
void |
copy(FlowSet destFlow)
Copies the current FlowSet into dest. |
void |
difference(FlowSet otherFlow,
FlowSet destFlow)
Returns the set difference (this join ~other) of this FlowSet and other, putting result into dest. |
boolean |
equals(java.lang.Object otherFlow)
|
void |
intersection(FlowSet otherFlow,
FlowSet destFlow)
Returns the intersection (meet) of this FlowSet and other, putting result into dest. |
boolean |
isEmpty()
Returns true if this FlowSet is the empty set. |
void |
remove(java.lang.Object obj,
FlowSet destFlow)
Removes obj from dest. |
int |
size()
Returns the size of the current FlowSet. |
java.util.List |
toList()
Returns a backed list of elements in this set. |
java.lang.String |
toString()
|
void |
union(FlowSet otherFlow,
FlowSet destFlow)
Returns the union (join) of this FlowSet and other, putting result into dest. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ArraySparseSet()
| Method Detail |
public java.lang.Object clone()
FlowSetclone in interface FlowSetclone in class java.lang.Objectpublic void clear()
FlowSetclear in interface FlowSetpublic int size()
FlowSetsize in interface FlowSetpublic boolean isEmpty()
FlowSetisEmpty in interface FlowSetpublic java.util.List toList()
toList in interface FlowSetpublic void add(java.lang.Object e)
public void add(java.lang.Object obj,
FlowSet destFlow)
FlowSetobj to dest. (optional operation)add in interface FlowSet
public void remove(java.lang.Object obj,
FlowSet destFlow)
FlowSetobj from dest. (optional operation)remove in interface FlowSet
public void union(FlowSet otherFlow,
FlowSet destFlow)
FlowSetother, putting result into dest.union in interface FlowSet
public void intersection(FlowSet otherFlow,
FlowSet destFlow)
FlowSetother, putting result into dest.intersection in interface FlowSet
public void difference(FlowSet otherFlow,
FlowSet destFlow)
FlowSetother, putting result into dest.difference in interface FlowSetpublic boolean contains(java.lang.Object obj)
FlowSetobj. (optional operation)contains in interface FlowSetpublic boolean equals(java.lang.Object otherFlow)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void copy(FlowSet destFlow)
FlowSetcopy in interface FlowSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||