|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.string.flow.Use
public class Use
Set of incoming flow edges. Has references to all corresponding definitions.
Constructor Summary | |
---|---|
Use(Node user)
Constructs a bew use. |
Method Summary | |
---|---|
void |
addDef(Node def)
Adds definition node to this use. |
void |
addDefUse(Node def)
Adds definition node to this use and vice versa. |
void |
clearDefs()
Clears the set of definitions. |
boolean |
equalDefs(Use u)
Checks whether this and the given use have the same definition nodes. |
Collection<Node> |
getDefs()
Returns (unmodifiable) collection of definition nodes for this use. |
int |
getDefsHashCode()
Returns hashcode for the definition nodes for this use. |
Node |
getUser()
Returns user node for this use. |
void |
removeDef(Node def)
Removes definition node from this use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Use(Node user)
Method Detail |
---|
public void addDef(Node def)
public void addDefUse(Node def)
public void clearDefs()
public boolean equalDefs(Use u)
public Collection<Node> getDefs()
public int getDefsHashCode()
public Node getUser()
public void removeDef(Node def)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |