mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
通用树生成 新功能 具备高自由 灵活 扩展特性
This commit is contained in:
parent
95093becb0
commit
864bf93a27
@ -65,6 +65,7 @@ public class TreeUtil {
|
|||||||
* @param maxDeep 最大递归深度 可能为null即不限制
|
* @param maxDeep 最大递归深度 可能为null即不限制
|
||||||
*/
|
*/
|
||||||
private static void innerBuild(List<TreeNodeMap> treeNodes, TreeNodeMap parentNode, int deep, Integer maxDeep) {
|
private static void innerBuild(List<TreeNodeMap> treeNodes, TreeNodeMap parentNode, int deep, Integer maxDeep) {
|
||||||
|
|
||||||
if (CollectionUtil.isEmpty(treeNodes)) {
|
if (CollectionUtil.isEmpty(treeNodes)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user