|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.splay.LinkedBinaryNode<T>
public class LinkedBinaryNode<T>
A linked binary tree node.
Method Summary | |
---|---|
int |
getDepth()
This method is used for internal purpose only while pretty printing the tree. |
T |
getKey()
|
LinkedBinaryNode<T> |
getLeft()
|
LinkedBinaryNode<T> |
getRight()
|
boolean |
isLeaf()
|
void |
setDepth(int depth)
This method is used for internal purpose only while pretty printing the tree. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public LinkedBinaryNode<T> getLeft()
public LinkedBinaryNode<T> getRight()
public T getKey()
public boolean isLeaf()
public int getDepth()
public void setDepth(int depth)
depth
- value representing the depth of the this nodepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |