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_ARRAYConverts duplicats to anObjectarray.static final DuplicateHandler<String> DuplicateHandler.DUPLICATES_AS_CSVConverts duplicates to a comma-separatedString.static final DuplicateHandler<?> DuplicateHandler.USE_FIRST_VALUEWill use the first (old) value.static final DuplicateHandler<?> DuplicateHandler.USE_LAST_VALUEWill 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.