接口的使用
cn.valot.common.data.tree.Tree
使用Tree的程序包
-
cn.valot.common.data.tree中Tree的使用
类型参数类型为Tree的cn.valot.common.data.tree中的方法修饰符和类型方法说明static <T extends Tree<T>,R>
void将树形节点展开为 list,并添加进 resultTreeUtils.marshal(List<T> list, TreeUtils.KeyFunc<T, R> keyFunc, TreeUtils.KeyFunc<T, R> pKeyFunc, R rootValue) 将集合排列为树形集合将树形结构展开为 list