Uses of Interface
tech.riemann.etp.tree.Treeable

Packages that use Treeable
Package
Description
 
  • Uses of Treeable in tech.riemann.etp.tree

    Method parameters in tech.riemann.etp.tree with type arguments of type Treeable
    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)
    转换成树