import java.util.ArrayList; public class BinarySearchTree > { private BinaryNode root; public BinarySearchTree(){ root = null; } public class BinaryNode { private T element; private BinaryNode leftChild; private BinaryNode rightChild; public BinaryNode(T element){ this.element = element; this.leftChild = null; this.rightChild = null; } } }