// package net.datastructures; //begin#fragment BTPos /** * Interface for a node of a binary tree. It maintains an element, a * parent node, a left node, and a right node. //end#fragment BTPos * * @author Michael Goodrich //begin#fragment BTPos */ public interface BTPosition extends Position { // inherits element() public void setElement(E o); public BTPosition getLeft(); public void setLeft(BTPosition v); public BTPosition getRight(); public void setRight(BTPosition v); public BTPosition getParent(); public void setParent(BTPosition v); } //end#fragment BTPos