mapKeysTo
fun <F, TK, TK2, V> Converter<F, Map<TK, V>>.mapKeysTo(keyConverter: Converter<TK, TK2>): Converter<F, Map<TK2, V>>
Chains this map converter with a key converter, yielding a new converter which performs a two-stage mapping conversion. (Note that these two "stages" are conceptual. Each of these stages may consist of multiple logical steps in their actual implementation.)
Parameters
F
The source type of this converter
TK
The type of keys being converted from
TK2
The type of keys being converted to
V
The type of values
keyConverter
The key converter to chain together with this map converter. Note that the source key type of the given keyConverter must be the same as the target key type of this converter.