Update hutool-core/src/main/java/cn/hutool/core/tree/BeanTree.java

This commit is contained in:
emptypoint 2022-11-27 13:09:22 +00:00 committed by Gitee
parent 24c066db43
commit a631f7e915
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -146,6 +146,7 @@ public class BeanTree<T, R extends Comparable<R>> {
/**
* 将树扁平化为集合相当于将树里的所有节点都放到一个集合里
* <p>本方法会主动将节点的子集合字段置为null</p>
*
* @param tree
* @return 集合