public class BeanCopier extends Object
| 构造器和说明 |
|---|
BeanCopier() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static <T> T[] |
addAll(T[] array1,
T... array2) |
protected static <T> T[] |
clone(T[] array)
Shallow clones an array returning a typecast result and handling
null. |
static <T> T |
copy(Object source,
Class<T> clazz) |
protected static void |
copy(Object source,
Object target) |
static <T> List<T> |
listCopy(List<?> sources,
Class<T> clazz) |
protected static <T> T[] addAll(T[] array1,
T... array2)
protected static <T> T[] clone(T[] array)
Shallow clones an array returning a typecast result and handling
null.
The objects in the array are not cloned, thus there is no special handling for multi-dimensional arrays.
This method returns null for a null input array.
null if null inputnullCopyright © 2022 tan. All rights reserved.