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