Class Tree


  • public class Tree
    extends Node
    Represents a Tree data structure.
    • Constructor Detail

      • Tree

        public Tree​(String rootElementValue,
                    Node.NodeType type)
        Creates a new tree
        Parameters:
        rootElementValue - information stored in the root Node
        type - type of the root Node.