Package | Description |
---|---|
gov.nih.nlm.nls.stmt.Corpus |
Contains STMT corpus tree classes.
|
Modifier and Type | Method and Description |
---|---|
TreeNode |
Corpus.GetRoot()
Get the root node of the corpus tree.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,TreeNode> |
TreeNode.GetChildren()
Get children of the node
|
static java.util.Collection<TreeNode> |
Corpus.GetNodeList(Corpus corpus)
Get list of total nodes for the tree.
|
static java.util.Collection<TreeNode> |
Corpus.GetNodeListForNode(TreeNode inNode,
java.util.Collection<TreeNode> inNodeList)
Get total nodes list of a branch under a given node.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TreeNode> |
Corpus.GetNodeListForNode(TreeNode inNode,
java.util.Collection<TreeNode> inNodeList)
Get total nodes list of a branch under a given node.
|
static java.util.Collection<java.lang.String> |
Corpus.GetPathListForNode(TreeNode inNode,
java.util.Collection<java.lang.String> inPathList,
java.lang.String inPath)
Get the total path list in the tree for a given node.
|
static java.lang.String |
Corpus.GetTreeStringForNode(TreeNode node,
java.lang.String inStr)
Get the sub-tree (branch) string for a given node
|
Modifier and Type | Method and Description |
---|---|
static int |
Corpus.GetMaxChildrenNoForLevel(java.util.Collection<TreeNode> nodeList,
int level)
Get the maximum number of children for a specified level and node list
|
static int |
Corpus.GetMaxLevel(java.util.Collection<TreeNode> nodeList)
Get the maximum level for a specified the node List.
|
static java.util.Collection<TreeNode> |
Corpus.GetNodeListForNode(TreeNode inNode,
java.util.Collection<TreeNode> inNodeList)
Get total nodes list of a branch under a given node.
|
void |
TreeNode.SetChildren(java.util.HashMap<java.lang.String,TreeNode> children)
Set the value of children.
|
Constructor and Description |
---|
TreeNode(java.lang.String key,
int level,
java.util.HashMap<java.lang.String,TreeNode> children)
Create a tree node with specifying key, level, and children
|
Submit a bug or feature
Copyright © 2015 National Library of Medicine