using System.Collections.Generic; public interface TreeNode { TreeNodeChildren getChildren(); TreeNodeAttributes getAttributes(); TreeNode createNewNode(); Either appendRootNode(); }