SetMappingConverters
object SetMappingConverters
Namespace for containing various conversion utilities dealing with Set mapping
Functions
Link copied to clipboard
fun <F, F2, T> ConvertsFrom<Set<F>, T>.mapConvertsFrom(elementConverter: ConvertsFrom<F2, F>): ConvertsFrom<Set<F2>, T>
Chains this set converter with an element 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.)
Link copied to clipboard
fun <F, T, T2> ConvertsTo<F, Set<T>>.mapConvertsTo(elementConverter: ConvertsTo<T, T2>): ConvertsTo<F, Set<T2>>
Chains this set converter with an element 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.)