|
FTP-Server API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used as a node in a Binary Tree.
Method Summary | |
int |
compareTo(TreeNode treeNode)
Compares the node with another node If the node that is beeing compared with is larger than the node itself, -1 is returned. |
Object |
getElement()
Returns the elementet - Not 'this', but the object, that tis node is holding. |
TreeNode |
getLeftNode()
Returns LeftNode |
TreeNode |
getRightNode()
Returns RightNode |
String |
getSortingQualifier()
Returns what should be sorted by. |
void |
setLeftNode(TreeNode left)
Saves 'LeftNode' in the data core. |
void |
setRightNode(TreeNode left)
Saves 'RightNode' in the data core. |
Method Detail |
public String getSortingQualifier()
public void setLeftNode(TreeNode left)
left
- public void setRightNode(TreeNode left)
left
- public TreeNode getLeftNode()
public TreeNode getRightNode()
public Object getElement()
public int compareTo(TreeNode treeNode)
treeNode
- The node that is compared with
|
FTP-Server API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |