Class Root


  • public class Root
    extends Branch
    The root of the framework, can be given branches or leaves as children. Extends functionality from Branch
    • Constructor Detail

    • Method Detail

      • addBranches

        public final Root addBranches​(Branch... branches)
        Adds Branchs to this Root Automatically sets the Branch parent to this root
        Parameters:
        branches - Branchs to add
        Returns:
        self
      • isValid

        public boolean isValid()
        Defaults isValid to true, no implementation required.
        Specified by:
        isValid in class Leaf
        Returns:
        true