toggle menu
kotlin-common
common
switch theme
search in API
kotlin-common-core
/
com.huanshankeji.kotlin
Package-level
declarations
Functions
Functions
close
Finally
Link copied to clipboard
inline
fun
<
T
>
T
.
closeFinally
(
cause
:
Throwable
?
,
close
:
T
.
(
)
->
Unit
)
Copied and adapted from
kotlin.closeFinally
.
dec
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
E
.
dec
(
)
:
E
enum
Plus
Link copied to clipboard
fun
<
E
:
Enum
<
E
>
>
enumPlus
(
values
:
Array
<
E
>
,
first
:
E
,
second
:
Int
)
:
E
inc
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
E
.
inc
(
)
:
E
minus
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
E
.
minus
(
other
:
Int
)
:
E
plus
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
E
.
plus
(
other
:
Int
)
:
E
produce
In
Callback
Link copied to clipboard
inline
fun
<
T
:
Any
>
produceInCallback
(
block
:
(
setValue
:
(
T
)
->
Unit
)
->
Unit
)
:
T
use
Link copied to clipboard
inline
fun
<
T
,
R
>
T
.
use
(
block
:
(
T
)
->
R
,
close
:
T
.
(
)
->
Unit
)
:
R
Copied and adapted from
kotlin.use
.