T
- 拷贝的对象C
- 本类的类型。用于set方法返回本对象,方便流式编程public abstract class SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> extends Object implements Copier<T>, Serializable
Modifier and Type | Field and Description |
---|---|
protected Filter<T> |
copyFilter
拷贝过滤器,可以过滤掉不需要拷贝的源
|
protected T |
dest
目标
|
protected T |
src
源
|
Constructor and Description |
---|
SrcToDestCopier() |
Modifier and Type | Method and Description |
---|---|
Filter<T> |
getCopyFilter()
获得过滤器
|
T |
getDest()
获得目标
|
T |
getSrc()
获取源
|
C |
setCopyFilter(Filter<T> copyFilter)
设置过滤器
|
C |
setDest(T dest)
设置目标
|
C |
setSrc(T src)
设置源
|
Copyright © 2024. All rights reserved.