Class FSTreeNode

  • Direct Known Subclasses:
    ArrayNode, FSNode

    public abstract class FSTreeNode
    extends java.lang.Object
    TODO: add type comment for FSTreeNode.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<FSTreeNode> children
      The children.
    • Constructor Summary

      Constructors 
      Constructor Description
      FSTreeNode()
      Instantiates a new FS tree node.
    • Field Detail

      • children

        protected java.util.List<FSTreeNode> children
        The children.
    • Constructor Detail

      • FSTreeNode

        public FSTreeNode()
        Instantiates a new FS tree node.
    • Method Detail

      • removeAllChildren

        void removeAllChildren()
        Removes the all children.
      • setChildren

        void setChildren​(java.util.List<FSTreeNode> children)
        Sets the children.
        Parameters:
        children - the new children
      • getChildren

        java.util.List<FSTreeNode> getChildren()
        Gets the children.
        Returns:
        the children
      • getChildCount

        int getChildCount()
        Gets the child count.
        Returns:
        the child count
      • initChildren

        protected abstract void initChildren()
        Inits the children.