public class BeanMapper extends Object
| Constructor and Description |
|---|
BeanMapper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Object source,
Object destinationObject)
基于Dozer将对象A的值拷贝到对象B中.
|
static <T> T |
map(Object source,
Class<T> destinationClass)
基于Dozer转换对象的类型.
|
static <T> List<T> |
mapList(Collection<?> sourceList,
Class<T> destinationClass)
基于Dozer转换Collection中对象的类型.
|
public static <T> List<T> mapList(Collection<?> sourceList, Class<T> destinationClass)
Copyright © 2020. All rights reserved.