|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoeq.Util.SyntheticGraphs.Graph
public class Graph
| Nested Class Summary | |
|---|---|
static class |
Graph.Direction
|
class |
Graph.Edge
|
| Field Summary | |
|---|---|
protected Graph.Direction |
_dir
|
protected List |
_edgeList
|
protected String |
_name
|
protected HashMap |
_nodeMap
|
| Constructor Summary | |
|---|---|
Graph()
|
|
Graph(String name,
Graph.Direction dir)
|
|
| Method Summary | |
|---|---|
void |
addEdge(long num1,
long num2)
|
void |
addEdge(String num1,
String num2)
|
void |
addNode(long num,
String name)
|
void |
addNode(String num,
String name)
|
void |
printDot(PrintStream out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String _name
protected HashMap _nodeMap
protected List _edgeList
protected Graph.Direction _dir
| Constructor Detail |
|---|
public Graph(String name,
Graph.Direction dir)
public Graph()
| Method Detail |
|---|
public void addNode(String num,
String name)
public void addNode(long num,
String name)
public void addEdge(String num1,
String num2)
public void addEdge(long num1,
long num2)
public void printDot(PrintStream out)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||