ShortToIntMapper

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

A mapper for List to be used in TransformableValue.via.

Link copied to clipboard

A mapper for Set to be used in TransformableValue.via.

Functions

Link copied to clipboard
open override fun map(from: Short): Int

Map from to an instance of TO.

Link copied to clipboard
open fun mapList(from: List<Short>): List<Int>

Map each element in from to an instance of TO.

Link copied to clipboard
open fun mapNullable(from: Short?): Int?

Map nullable from to an instance of TO.

Link copied to clipboard
open fun mapNullableList(from: List<Short>?): List<Int>?

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

Link copied to clipboard
open fun mapNullableSet(from: Set<Short>?): Set<Int>?

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

Link copied to clipboard
open fun mapSet(from: Set<Short>): Set<Int>

Map each element in from to an instance of TO.