Arrow
Toggle table of contents
2.1.1
common
Platform filter
common
Switch theme
Search in API
Arrow
arrow-atomic
/
arrow.atomic
/
update
update
inline
fun
<
V
>
Atomic
<
V
>
.
update
(
function
:
(
V
)
->
V
)
inline
fun
<
V
,
U
:
V
,
R
>
Atomic
<
V
>
.
update
(
function
:
(
V
)
->
U
,
transform
:
(
old
:
V
,
new
:
U
)
->
R
)
:
R
inline
fun
AtomicBoolean
.
update
(
function
:
(
Boolean
)
->
Boolean
)
inline
fun
AtomicInt
.
update
(
function
:
(
Int
)
->
Int
)
inline
fun
AtomicLong
.
update
(
function
:
(
Long
)
->
Long
)