package username.dict; /** * Nodes for a binary search tree. * */ class BSTNode { // +--------+-------------------------------------------------- // | Fields | // +--------+ /** * The index */ I index; /** * The value */ V value; /** * The left subtree. */ BSTNode left; /** * The right subtree. */ BSTNode right; // +--------------+-------------------------------------------- // | Constructors | // +--------------+ /** * Create a new BSTnode */ public BSTNode(I _index, V _value) { this.index = _index; this.value = _value; } // BST() } // class BSTNode