|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.internal.util.Graph
public class Graph
A simple graph class.
GraphNode
Field Summary | |
---|---|
protected GraphNode |
root
|
Constructor Summary | |
---|---|
Graph()
|
Method Summary | |
---|---|
static void |
collectNodes(GraphNode n,
java.util.Vector<GraphNode> nodes)
|
protected static int |
getNodeCode(GraphNode n,
java.util.Vector<GraphNode> nodes)
|
GraphNode |
getRoot()
|
void |
setRoot(GraphNode root)
Set the root of the graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GraphNode root
Constructor Detail |
---|
public Graph()
Method Detail |
---|
public GraphNode getRoot()
public void setRoot(GraphNode root)
root
- The root node.protected static int getNodeCode(GraphNode n, java.util.Vector<GraphNode> nodes)
public static void collectNodes(GraphNode n, java.util.Vector<GraphNode> nodes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |