Uses of Interface
com.twelvemonkeys.util.DuplicateHandler
-
Packages that use DuplicateHandler Package Description com.twelvemonkeys.util -
-
Uses of DuplicateHandler in com.twelvemonkeys.util
Fields in com.twelvemonkeys.util declared as DuplicateHandler Modifier and Type Field Description static DuplicateHandler<?>
DuplicateHandler. DUPLICATES_AS_ARRAY
Converts duplicats to anObject
array.static DuplicateHandler<java.lang.String>
DuplicateHandler. DUPLICATES_AS_CSV
Converts duplicates to a comma-separatedString
.static DuplicateHandler<?>
DuplicateHandler. USE_FIRST_VALUE
Will use the first (old) value.static DuplicateHandler<?>
DuplicateHandler. USE_LAST_VALUE
Will use the last (new) value.Methods in com.twelvemonkeys.util with parameters of type DuplicateHandler Modifier and Type Method Description static <K,V>
java.util.Map<V,K>CollectionUtil. invert(java.util.Map<K,V> pSource, java.util.Map<V,K> pResult, DuplicateHandler<K> pHandler)
Creates an inverted mapping of the key/value pairs in the given map.
-