Class TreeNodeList<T>

    • Constructor Detail

      • TreeNodeList

        public TreeNodeList()
    • Method Detail

      • setSibling

        public TreeNode<T> setSibling​(int index,
                                      TreeNode<T> node)
        Optimized set implementation to be used in sorting
        Parameters:
        index - index of the element to replace
        node - node to be stored at the specified position
        Returns:
        the node previously at the specified position