@Deprecated public class BinaryTree extends Object
| Constructor and Description |
|---|
BinaryTree(int value)
Deprecated.
Creates a new instance of BinaryTree.
|
| Modifier and Type | Method and Description |
|---|---|
BinaryTree |
getEqual()
Deprecated.
Returns equal node
|
BinaryTree |
getNotEqual()
Deprecated.
Returns not equal node
|
int |
getValue()
Deprecated.
Return value of the node
|
void |
setEqual(BinaryTree equal)
Deprecated.
Set equal node
|
void |
setNotEqual(BinaryTree notEqual)
Deprecated.
Set not equal node
|
public BinaryTree(int value)
value - node valuepublic int getValue()
public BinaryTree getEqual()
public void setEqual(BinaryTree equal)
equal - the equal to setpublic BinaryTree getNotEqual()
public void setNotEqual(BinaryTree notEqual)
notEqual - the notEqual to setCopyright © 2021. All rights reserved.