public class BT<E> {
private BinNode<E> root;
public BT(){
root = null;
}
public BT( BinNode<E> root){
this.root = root;
}
public void clear(){
root = null;
}
public void setRoot( BinNode<E> root){
this.root = root;
}
private void visit( BinNode<E> root ){
System.out.println( root.value() );
}
public void preOrderTraverse( ){
System.out.println("Pre-order Traversal:");
}
public void inOrderTraverse( ){
System.out.println("In-order Traversal:");
}
public void postOrderTraverse( ){
System.out.println("Post-order Traversal:");
}
}