Package jltk.struc
Class BinaryTree<ContentType>
- java.lang.Object
 - 
- jltk.struc.BinaryTree<ContentType>
 
 
- 
public class BinaryTree<ContentType> extends Object
Beschreiben Sie hier die Klasse BinaryTree.- Version:
 - 1.0
 - Author:
 - Schulte
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description (package private) ContentTypecontent(package private) BinaryTree<ContentType>leftTree(package private) BinaryTree<ContentType>rightTree 
- 
Constructor Summary
Constructors Constructor Description BinaryTree()BinaryTree(ContentType pContent, BinaryTree<ContentType> pLeftTree, BinaryTree<ContentType> pRightTree) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentTypegetContent()BinaryTree<ContentType>getLeftTree()BinaryTree<ContentType>getRightTree()booleanisEmpty()voidsetContent(ContentType pContent)voidsetLeftTree(BinaryTree<ContentType> pLeftTree)voidsetRightTree(BinaryTree<ContentType> pRightTree) 
 - 
 
- 
- 
Field Detail
- 
leftTree
BinaryTree<ContentType> leftTree
 
- 
rightTree
BinaryTree<ContentType> rightTree
 
- 
content
ContentType content
 
 - 
 
- 
Constructor Detail
- 
BinaryTree
public BinaryTree()
 
- 
BinaryTree
public BinaryTree(ContentType pContent, BinaryTree<ContentType> pLeftTree, BinaryTree<ContentType> pRightTree)
 
 - 
 
- 
Method Detail
- 
isEmpty
public boolean isEmpty()
 
- 
setContent
public void setContent(ContentType pContent)
 
- 
getContent
public ContentType getContent()
 
- 
getLeftTree
public BinaryTree<ContentType> getLeftTree()
 
- 
getRightTree
public BinaryTree<ContentType> getRightTree()
 
- 
setLeftTree
public void setLeftTree(BinaryTree<ContentType> pLeftTree)
 
- 
setRightTree
public void setRightTree(BinaryTree<ContentType> pRightTree)
 
 - 
 
 -