toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.concurrent.atomic
/
KorAtomicNumber
Kor
Atomic
Number
interface
KorAtomicNumber
<
T
:
Number
>
:
KorAtomicBase
<
T
>
Inheritors
KorAtomicInt
KorAtomicFloat
KorAtomicLong
Members
Members & Extensions
Properties
value
Link copied to clipboard
abstract
var
value
:
T
Functions
add
And
Get
Link copied to clipboard
abstract
fun
addAndGet
(
delta
:
T
)
:
T
compare
And
Set
Link copied to clipboard
abstract
fun
compareAndSet
(
expect
:
T
,
update
:
T
)
:
Boolean
update
Link copied to clipboard
inline
fun
<
T
>
KorAtomicBase
<
T
>
.
update
(
transform
:
(
T
)
->
T
)
:
T