Interface MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>>

    • Method Detail

      • setLeft

        void setLeft​(T node)
        Sets the left child node to the given node.
        Parameters:
        node - the node to set as left child
      • setRight

        void setRight​(T node)
        Sets the right child node to the given node.
        Parameters:
        node - the node to set as right child