| 程序包 | 说明 |
|---|---|
| cn.sinozg.applet.common.core.model | |
| cn.sinozg.applet.common.utils |
| 限定符和类型 | 字段和说明 |
|---|---|
private List<? extends TreeSelect> |
TreeSelect.children
子节点
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<? extends TreeSelect> |
TreeSelect.getChildren()
获取 子节点
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TreeSelect.setChildren(List<? extends TreeSelect> children)
设置 子节点
|
| 限定符和类型 | 方法和说明 |
|---|---|
private static <T extends TreeSelect> |
PojoUtil.children(List<T> tree,
List<T> sources)
递归获取树形结构
|
static <T extends TreeSelect> |
PojoUtil.toTree(List<T> resources,
String root)
递归 转为树结构
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> List<TreeSelect> |
PojoUtil.toTree(List<T> resources,
Function<T,TreeSelect> fun,
String root)
转树形结构
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> List<TreeSelect> |
PojoUtil.toTree(List<T> resources,
Function<T,TreeSelect> fun,
String root)
转树形结构
|
Copyright © 2024. All rights reserved.