toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.concurrent.atomic
/
KorAtomicInt
Kor
Atomic
Int
open
class
KorAtomicInt
:
KorAtomicNumber
<
Int
>
Members
Members & Extensions
Properties
value
Link copied to clipboard
open
override
var
value
:
Int
Functions
add
And
Get
Link copied to clipboard
open
override
fun
addAndGet
(
delta
:
Int
)
:
Int
add
And
Get
Mod
Link copied to clipboard
fun
addAndGetMod
(
delta
:
Int
,
modulo
:
Int
)
:
Int
compare
And
Set
Link copied to clipboard
open
override
fun
compareAndSet
(
expect
:
Int
,
update
:
Int
)
:
Boolean
get
And
Add
Link copied to clipboard
fun
KorAtomicInt
.
getAndAdd
(
delta
:
Int
)
:
Int
get
And
Increment
Link copied to clipboard
fun
KorAtomicInt
.
getAndIncrement
(
)
:
Int
get
Value
Link copied to clipboard
inline operator
fun
KorAtomicInt
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
Int
increment
And
Get
Link copied to clipboard
fun
KorAtomicInt
.
incrementAndGet
(
)
:
Int
set
Value
Link copied to clipboard
inline operator
fun
KorAtomicInt
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
Int
)
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