toggle menu
Arrow
1.2.4
common
switch theme
search in API
arrow-atomic
/
arrow.atomic
/
tryUpdate
try
Update
inline
fun
<
V
>
Atomic
<
V
>
.
tryUpdate
(
function
:
(
V
)
->
V
)
:
Boolean
(
source
)
inline
fun
AtomicBoolean
.
tryUpdate
(
function
:
(
Boolean
)
->
Boolean
)
:
Boolean
(
source
)
inline
fun
AtomicInt
.
tryUpdate
(
function
:
(
Int
)
->
Int
)
:
Boolean
(
source
)
inline
fun
AtomicLong
.
tryUpdate
(
function
:
(
Long
)
->
Long
)
:
Boolean
(
source
)