connectTo method
Create outgoing edge from this node to the given node n
.
Implementation
void connectTo(CallGraphNode n) {
if (n == this) {
return;
}
if (!succ.contains(n)) {
n.pred.add(this);
succ.add(n);
}
}
Create outgoing edge from this node to the given node n
.
void connectTo(CallGraphNode n) {
if (n == this) {
return;
}
if (!succ.contains(n)) {
n.pred.add(this);
succ.add(n);
}
}