IterableToSetMapper

class IterableToSetMapper<FROM, TO>(inner: Mappie1<FROM, TO> = generated()) : ObjectMappie<Iterable<FROM>, Set<TO>>

Constructors

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

Functions

Link copied to clipboard
open override fun map(from: Iterable<FROM>): Set<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<Set<TO>>

Map each element in from to an instance of TO.

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

Map nullable from to an instance of TO.

Link copied to clipboard
open fun mapNullableList(from: List<Iterable<FROM>>?): List<Set<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<Set<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<Set<TO>>

Map each element in from to an instance of TO.