mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix doc
This commit is contained in:
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user