java.lang.Object | |
↳ | com.microstrategy.utils.Tree<T> |
The tree structure whose value on each tree node is of type T.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tree()
Default constructor.
| |||||||||||
Tree(GenericTreeNode<T> root, GenericTreeNode<T> current)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GenericTreeNode<T> |
getCurrentNode()
Returns the current node of the tree.
| ||||||||||
List<FlattenedTreeNode> |
getFlattenedTree()
Returns a list of
FlattenedTreeNode which represents the current tree. | ||||||||||
GenericTreeNode<T> |
getRootNode()
Returns the root node.
| ||||||||||
void |
setCurrentNode(GenericTreeNode<T> currentNode)
Sets the current node of the tree.
| ||||||||||
void |
setRootNode(GenericTreeNode<T> rootNode)
Sets the root node of the tree.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Default constructor.
Constructor.
root | The root node of the tree. |
---|---|
current | The current node of the tree. |
Returns a list of FlattenedTreeNode
which represents the current tree.
FlattenedTreeNode
.
Sets the current node of the tree.
currentNode | current node. |
---|
Sets the root node of the tree.
rootNode | the root node of the tree. |
---|