toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.concurrent.atomic
/
KorAtomicRef
Kor
Atomic
Ref
open
class
KorAtomicRef
<
T
>
:
KorAtomicBase
<
T
>
Members
Members & Extensions
Properties
value
Link copied to clipboard
open
override
var
value
:
T
Functions
compare
And
Set
Link copied to clipboard
open
override
fun
compareAndSet
(
expect
:
T
,
update
:
T
)
:
Boolean
get
Value
Link copied to clipboard
inline operator
fun
<
T
>
KorAtomicRef
<
T
>
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
T
set
Value
Link copied to clipboard
inline operator
fun
<
T
>
KorAtomicRef
<
T
>
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
T
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
update
Link copied to clipboard
inline
fun
<
T
>
KorAtomicBase
<
T
>
.
update
(
transform
:
(
T
)
->
T
)
:
T