Uses of Class
tech.riemann.nif.utils.tree.Tree

Packages that use Tree
Package
Description
 
  • Uses of Tree in tech.riemann.nif.utils.tree

    Methods in tech.riemann.nif.utils.tree that return Tree
    Modifier and Type
    Method
    Description
    default Tree<T>
    Treeable.toTree()
    将当前对象转换为树节点对象
    Methods in tech.riemann.nif.utils.tree that return types with arguments of type Tree
    Modifier and Type
    Method
    Description
    static <T> List<Tree<T>>
    Tree.children(List<Treeable<T>> data, T rootKey)
    根据根节点键值从数据列表中筛选并构建树结构的子节点列表 此方法的主要作用是递归地从提供的数据列表中构建树结构 它通过查找匹配给定根节点键值的项来实现这一点,然后为这些项设置子节点, 这些子节点是通过递归调用此方法本身来构建的
    static <T> List<Tree<T>>
    Tree.from(List<Treeable<T>> data, List<T> rootKeys)
    根据给定的数据和根节点键值列表,生成一个树结构列表
    static <T> List<Tree<T>>
    Tree.from(List<Treeable<T>> data, T rootKey)
    转换成树