|
|||||||||
| 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
public class NodeWithNumber
A node which carries it's own number; which identifies it in a NumberedGraph implementation.
Note that a NodeWithNumber can live it at most one NumberedGraph at a time. The NumberedGraph will mutate
the number here. So this is a bit fragile. Use this only if you know what you're doing.
| Constructor Summary | |
|---|---|
NodeWithNumber()
|
|
| Method Summary | |
|---|---|
int |
getGraphNodeId()
A non-negative integer which serves as an identifier for this node in it's "dominant" graph. |
void |
setGraphNodeId(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeWithNumber()
| Method Detail |
|---|
public int getGraphNodeId()
INodeWithNumber
getGraphNodeId in interface INodeWithNumberpublic void setGraphNodeId(int i)
setGraphNodeId in interface INodeWithNumber
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||