//************************ ThreadedTreeNode.java ********************** // node of a generic binary search threaded tree public class ThreadedTreeNode> { protected T el; protected boolean hasSuccessor; protected ThreadedTreeNode left, right; public ThreadedTreeNode() { left = right = null; hasSuccessor = false; } public ThreadedTreeNode(T el) { this(el,null,null); } public ThreadedTreeNode(T el, ThreadedTreeNode l, ThreadedTreeNode r) { this.el = el; left = l; right = r; hasSuccessor = false; } }