micro_utils.dokka
0.16.11
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
SimpleMapper
Simple
Mapper
interface
SimpleMapper
<
T1
,
T2
>
Functions
Extensions
Inheritors
Functions
convert
To
T1
Link copied to clipboard
abstract
fun
convertToT1
(
from
:
T2
)
:
T1
convert
To
T2
Link copied to clipboard
abstract
fun
convertToT2
(
from
:
T1
)
:
T2
Inheritors
SimpleMapperImpl
Link copied to clipboard
Extensions
convert
Link copied to clipboard
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2