mapKeysFrom

fun <FK, FK2, V, T> Converter<Map<FK, V>, T>.mapKeysFrom(keyConverter: Converter<FK2, FK>): Converter<Map<FK2, V>, T>

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

FK

The type of keys being converted to

FK2

The type of keys being converted from

V

The type of values

T

The target type of this converter

keyConverter

The key converter to chain together with this map converter. Note that the target key type of the given keyConverter must be the same as the source key type of this converter.