public interface Copier<T>
| Modifier and Type | Method and Description |
|---|---|
T |
copy(T obj1,
T obj2)
Copy the content of obj2 in obj1.
|
T |
copy(T obj1,
T obj2,
boolean copyIgnoredFields)
Copy the content of obj2 in obj1.
|
T copy(T obj1, T obj2, boolean copyIgnoredFields)
IgnoreCompare, it will be copied only if copyIgnoredField = true.obj1 - object receiving the copy of object 2.obj2 - object that will be copied.Copyright © 2017. All rights reserved.