Package-level declarations

Types

Link copied to clipboard

Namespace for containing various conversion utilities dealing with mapping between collection types (e.g., Set to List)

Link copied to clipboard

Namespace for containing various conversion utilities dealing with List mapping

Link copied to clipboard

Namespace for containing various conversion utilities dealing with Map mapping

Link copied to clipboard

Namespace for containing various conversion utilities dealing with Set mapping

Inherited functions

Link copied to clipboard
fun <F, F2, T> Converter<List<F>, T>.mapFrom(elementConverter: Converter<F2, F>): Converter<List<F2>, T>

Chains this list 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.)

fun <FK, FV, FK2, FV2, T> Converter<Map<FK, FV>, T>.mapFrom(entryConverter: Converter<Pair<FK2, FV2>, Pair<FK, FV>>): Converter<Map<FK2, FV2>, T>

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.)

fun <F, F2, T> Converter<Set<F>, T>.mapFrom(elementConverter: Converter<F2, F>): Converter<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.)

fun <FK, FV, FK2, FV2, T> Converter<Map<FK, FV>, T>.mapFrom(keyConverter: Converter<FK2, FK>, valueConverter: Converter<FV2, FV>): Converter<Map<FK2, FV2>, T>

Chains this map converter with a key converter and 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.)

Link copied to clipboard
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.)

Link copied to clipboard
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.)

Link copied to clipboard
fun <F, T, T2> Converter<F, List<T>>.mapTo(elementConverter: Converter<T, T2>): Converter<F, List<T2>>

Chains this list 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.)

fun <F, TK, TV, TK2, TV2> Converter<F, Map<TK, TV>>.mapTo(entryConverter: Converter<Pair<TK, TV>, Pair<TK2, TV2>>): Converter<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.)

fun <F, T, T2> Converter<F, Set<T>>.mapTo(elementConverter: Converter<T, T2>): Converter<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.)

fun <F, TK, TV, TK2, TV2> Converter<F, Map<TK, TV>>.mapTo(keyConverter: Converter<TK, TK2>, valueConverter: Converter<TV, TV2>): Converter<F, Map<TK2, TV2>>

Chains this map converter with a key converter and 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.)

Link copied to clipboard
fun <K, FV, FV2, T> Converter<Map<K, FV>, T>.mapValuesFrom(valueConverter: Converter<FV2, FV>): Converter<Map<K, FV2>, T>

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.)

Link copied to clipboard
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.)