Class TreeNodeList

    • Constructor Detail

      • TreeNodeList

        public TreeNodeList()
    • Method Detail

      • setSibling

        public TreeNode setSibling​(int index,
                                   TreeNode 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