Package | Description |
---|---|
com.twelvemonkeys.util |
Modifier and Type | Field | Description |
---|---|---|
static DuplicateHandler<?> |
DuplicateHandler.DUPLICATES_AS_ARRAY |
Converts duplicats to an
Object array. |
static DuplicateHandler<String> |
DuplicateHandler.DUPLICATES_AS_CSV |
Converts duplicates to a comma-separated
String . |
static DuplicateHandler<?> |
DuplicateHandler.USE_FIRST_VALUE |
Will use the first (old) value.
|
static DuplicateHandler<?> |
DuplicateHandler.USE_LAST_VALUE |
Will use the last (new) value.
|
Modifier and Type | Method | Description |
---|---|---|
static <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.
|
Copyright © 2018. All rights reserved.