IterableToListMapper

Constructors

Link copied to clipboard
constructor(inner: Mappie1<FROM, TO>)

Functions

Link copied to clipboard
open override fun map(from: Iterable<FROM>): List<TO>

Map from to an instance of TO.

Link copied to clipboard
inline fun <FROM, TO> ObjectMappie<FROM, TO>.mapArray(from: Array<FROM>): Array<TO>

Map each element in from to an instance of TO.

Link copied to clipboard
open fun mapList(from: List<Iterable<FROM>>): List<List<TO>>

Map each element in from to an instance of TO.

Link copied to clipboard
open fun mapNullable(from: Iterable<FROM>?): List<TO>?

Map nullable from to an instance of TO.

Link copied to clipboard
open fun mapNullableList(from: List<Iterable<FROM>>?): List<List<TO>>?

Map each element in from to an instance of TO if from is not null.

Link copied to clipboard
open fun mapNullableSet(from: Set<Iterable<FROM>>?): Set<List<TO>>?

Map each element in from to an instance of TO if from is not null.

Link copied to clipboard
open fun mapSet(from: Set<Iterable<FROM>>): Set<List<TO>>

Map each element in from to an instance of TO.