mapConvertsTo

fun <F, TK, TV, TK2, TV2> ConvertsTo<F, Map<TK, TV>>.mapConvertsTo(entryConverter: ConvertsTo<Pair<TK, TV>, Pair<TK2, TV2>>): ConvertsTo<F, Map<TK2, TV2>>

Chains this map converter with an entry 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

TV

The type of values being converted from

TK2

The type of keys being converted to

TV2

The type of values being converted to

entryConverter

The entry converter to chain together with this map converter. Note that the source types of the given entryConverter must be the same as the target types of this converter.