| Package | Description |
|---|---|
| org.hswebframework.web.api.crud.entity | |
| org.hswebframework.web.crud.service |
| Modifier and Type | Method and Description |
|---|---|
static <N extends TreeSupportEntity<PK>,PK> |
TreeSupportEntity.list2tree(Collection<N> dataList,
BiConsumer<N,List<N>> childConsumer,
Function<TreeSupportEntity.TreeHelper<N,PK>,Predicate<N>> predicateFunction)
列表结构转为树结构,并返回根节点集合
|
| Modifier and Type | Method and Description |
|---|---|
default Predicate<E> |
ReactiveTreeSortEntityService.createRootNodePredicate(TreeSupportEntity.TreeHelper<E,K> helper) |
default Predicate<E> |
TreeSortEntityService.createRootNodePredicate(TreeSupportEntity.TreeHelper<E,K> helper) |
Copyright © 2016–2021. All rights reserved.