mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
fix doc
This commit is contained in:
parent
8c734607a1
commit
7c05a71159
@ -576,8 +576,10 @@ public class BeanUtil {
|
||||
/**
|
||||
* 创建对应的Class对象并复制Bean对象属性
|
||||
*
|
||||
* @param <T> 对象类型
|
||||
* @param source 源Bean对象
|
||||
* @param tClass 目标Class
|
||||
* @return 目标对象
|
||||
*/
|
||||
public static <T> T copyProperties(Object source, Class<T> tClass) {
|
||||
T target = ReflectUtil.newInstance(tClass);
|
||||
|
@ -63,7 +63,7 @@ public class Tree<T> extends LinkedHashMap<String, Object> implements Node<T> {
|
||||
* 比如有个人在研发1部,他上面有研发部,接着上面有技术中心<br>
|
||||
* 返回结果就是:[研发一部, 研发中心, 技术中心]
|
||||
*
|
||||
* @param id 节点ID
|
||||
* @param id 节点ID
|
||||
* @param includeCurrentNode 是否包含当前节点的名称
|
||||
* @return 所有父节点名称列表
|
||||
* @since 5.2.4
|
||||
@ -91,6 +91,7 @@ public class Tree<T> extends LinkedHashMap<String, Object> implements Node<T> {
|
||||
* 设置父节点
|
||||
*
|
||||
* @param parent 父节点
|
||||
* @return this
|
||||
* @since 5.2.4
|
||||
*/
|
||||
public Tree<T> setParent(Tree<T> parent) {
|
||||
|
Loading…
Reference in New Issue
Block a user