|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.models.Tree
public class Tree
Tree is the implementation of TreeInterface.
| Constructor Summary | |
|---|---|
Tree()
Constructs a Tree object. |
|
Tree(NodeInterface root)
Constructs a Tree object. |
|
| Method Summary | |
|---|---|
NodeInterface |
getRoot()
Returns the root node of the Tree. |
void |
setRoot(NodeInterface newValue)
Sets the root node of the Tree. |
| Constructor Detail |
|---|
public Tree()
public Tree(NodeInterface root)
root - the node to be set as the root node| Method Detail |
|---|
public NodeInterface getRoot()
getRoot in interface TreeInterfacepublic void setRoot(NodeInterface newValue)
newValue - the newValue for the root node
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||