public interface DuplicateHandler<T>
| Modifier and Type | Field and Description |
|---|---|
static DuplicateHandler<?> |
DUPLICATES_AS_ARRAY
Converts duplicats to an
Object array. |
static DuplicateHandler<String> |
DUPLICATES_AS_CSV
Converts duplicates to a comma-separated
String. |
static DuplicateHandler<?> |
USE_FIRST_VALUE
Will use the first (old) value.
|
static DuplicateHandler<?> |
USE_LAST_VALUE
Will use the last (new) value.
|
static final DuplicateHandler<?> USE_FIRST_VALUE
static final DuplicateHandler<?> USE_LAST_VALUE
static final DuplicateHandler<?> DUPLICATES_AS_ARRAY
Object array.static final DuplicateHandler<String> DUPLICATES_AS_CSV
String.
Note that all values should allready be Strings if using this
handler.T resolve(T pOld, T pNew)
pOld - the old valuepNew - the new valueIllegalArgumentException - is the arguments cannot be resolved for
some reason.Copyright © 2014. All Rights Reserved.