toggle menu
micro_utils.dokka
0.20.25
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
SimpleMapperImpl
Simple
Mapper
Impl
class
SimpleMapperImpl
<
T1
,
T2
>
(
t1
:
(
T2
)
->
T1
,
t2
:
(
T1
)
->
T2
)
:
SimpleMapper
<
T1
,
T2
>
(
source
)
Members
Members & Extensions
Constructors
Simple
Mapper
Impl
Link copied to clipboard
constructor
(
t1
:
(
T2
)
->
T1
,
t2
:
(
T1
)
->
T2
)
Functions
convert
Link copied to clipboard
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
convert
To
T1
Link copied to clipboard
open
override
fun
convertToT1
(
from
:
T2
)
:
T1
convert
To
T2
Link copied to clipboard
open
override
fun
convertToT2
(
from
:
T1
)
:
T2