| 程序包 | 说明 |
|---|---|
| cn.woodwhales.common.business.tree |
| 限定符和类型 | 方法和说明 |
|---|---|
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder.build() |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setChildrenName(String childrenName) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setDataName(String dataName) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setExtraName(String extraName) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setNodeId(String nodeId) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setNodeName(String nodeName) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setOverNodeIdFunction(java.util.function.Function<T,Object> overNodeIdFunction) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setParentId(String parentId) |
TreeNodeAttributeMapper<T> |
TreeNodeAttributeMapper.setSortName(String sortName) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,T> Map<String,Object> |
TreeNode.toMap(TreeNode<K,T> treeNode,
TreeNodeAttributeMapper<T> treeAttributeMapper,
java.util.function.Function<T,Object> extraFunction,
boolean withData,
boolean needDropData) |
static <K,T> List<Map<String,Object>> |
TreeTool.tree(List<T> sourceList,
TreeNodeGenerator<K,T> treeNodeGenerator,
TreeNodeAttributeMapper<T> treeNodeAttributeMapper) |
static <K,T> List<Map<String,Object>> |
TreeTool.tree(List<T> sourceList,
TreeNodeGenerator<K,T> treeNodeGenerator,
TreeNodeAttributeMapper<T> treeNodeAttributeMapper,
boolean withData)
树化数据
|
static <K,T> List<Map<String,Object>> |
TreeTool.tree(List<T> sourceList,
TreeNodeGenerator<K,T> treeNodeGenerator,
TreeNodeAttributeMapper<T> treeNodeAttributeMapper,
java.util.function.Function<T,Object> extraFunction)
树化数据,可支持添加扩展属性
|
static <K,T> List<Map<String,Object>> |
TreeTool.tree(List<T> sourceList,
TreeNodeGenerator<K,T> treeNodeGenerator,
TreeNodeAttributeMapper<T> treeNodeAttributeMapper,
java.util.function.Function<T,Object> extraFunction,
boolean withData)
树化数据,可支持添加扩展属性
|
Copyright © 2022. All rights reserved.