/** * sets the root to the passed value, only if the root is previously unset * * @param root * the initial tree root */ public void setRoot(V root) { addVertex(root); }
/** * sets the root to the passed value, only if the root is * previously unset * @param root the initial tree root */ public void setRoot(V root) { addVertex(root); }