public class UniqueMerge extends Abstract
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DELIMITER
Default delimiter
|
private java.util.Set<java.lang.String> |
mKeys |
VERSION
Constructor and Description |
---|
UniqueMerge() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
compute(java.lang.String oldValue,
java.lang.String newValue,
java.lang.String dflt)
Sums up the values.
|
public static final java.lang.String DEFAULT_DELIMITER
private java.util.Set<java.lang.String> mKeys
public java.lang.String compute(java.lang.String oldValue, java.lang.String newValue, java.lang.String dflt)
oldValue
- the existing value for the profile.newValue
- the new value being added to the profile.dflt
- the default value to be used in case the values
are not of the correct type.