mapValuesTo

fun <F, K, TV, TV2> Converter<F, Map<K, TV>>.mapValuesTo(valueConverter: Converter<TV, TV2>): Converter<F, Map<K, TV2>>

Chains this map converter with a value 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

K

The type of keys

TV

The type of values being converted from

TV2

The type of values being converted to

valueConverter

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