Uses of Class
com.sure.tool.collection.TreeNode
Packages that use TreeNode
-
Uses of TreeNode in com.sure.tool.collection
Methods in com.sure.tool.collection that return TreeNodeModifier and TypeMethodDescription添加子节点。static <T> TreeNode<T> 构建单根树(多个根时返回第一个)。static <T> TreeNode<T> 按节点 ID 深度优先查找。设置 ID。设置名称。TreeNode.setParentId(T parentId) 设置父节点 ID。Methods in com.sure.tool.collection that return types with arguments of type TreeNodeModifier and TypeMethodDescription从扁平节点列表构建森林(parentId 为null或等于 rootId 的节点作为根)。展平森林为节点列表(深度优先)。TreeNode.getChildren()子节点列表。Methods in com.sure.tool.collection with parameters of type TreeNodeModifier and TypeMethodDescription添加子节点。static <T> int树深度(根为 1)。static <T> TreeNode<T> 按节点 ID 深度优先查找。static <T> void深度优先遍历(先父后子)。Method parameters in com.sure.tool.collection with type arguments of type TreeNodeModifier and TypeMethodDescription从扁平节点列表构建森林(parentId 为null或等于 rootId 的节点作为根)。static <T> TreeNode<T> 构建单根树(多个根时返回第一个)。展平森林为节点列表(深度优先)。static <T> void深度优先遍历(先父后子)。