ListMappingConverter

class ListMappingConverter<L, R>(delegate: Converter<L, R>) : Converter<List<L>, List<R>>

Creates a list-mapping Converter which performs two-way conversions between values of type List<L> and values of type List<R>

Type Parameters

L

The left element type

R

The right element type

Constructors

Link copied to clipboard
constructor(delegate: Converter<L, R>)

Functions

Link copied to clipboard
open override fun convertLeft(from: List<R>): List<L>

Converts a right value into a left value

Link copied to clipboard
open override fun convertRight(from: List<L>): List<R>

Converts a left value into a right value