toggle menu
korge-root
5.1.0
common
darwin
js
jvmAndroid
switch theme
search in API
korge-core
/
korlibs.io.concurrent.atomic
Package-level
declarations
Types
Functions
Types
Kor
Atomic
Base
Link copied to clipboard
interface
KorAtomicBase
<
T
>
Kor
Atomic
Boolean
Link copied to clipboard
open
class
KorAtomicBoolean
:
KorAtomicBase
<
Boolean
>
Kor
Atomic
Float
Link copied to clipboard
class
KorAtomicFloat
(
initial
:
Float
)
:
KorAtomicNumber
<
Float
>
Kor
Atomic
Int
Link copied to clipboard
open
class
KorAtomicInt
:
KorAtomicNumber
<
Int
>
Kor
Atomic
Long
Link copied to clipboard
open
class
KorAtomicLong
:
KorAtomicNumber
<
Long
>
Kor
Atomic
Number
Link copied to clipboard
interface
KorAtomicNumber
<
T
:
Number
>
:
KorAtomicBase
<
T
>
Kor
Atomic
Ref
Link copied to clipboard
open
class
KorAtomicRef
<
T
>
:
KorAtomicBase
<
T
>
Functions
atomic
Lazy
Link copied to clipboard
fun
<
T
>
atomicLazy
(
initializer
:
(
)
->
T
)
:
Lazy
<
T
>
get
And
Add
Link copied to clipboard
fun
KorAtomicInt
.
getAndAdd
(
delta
:
Int
)
:
Int
fun
KorAtomicLong
.
getAndAdd
(
delta
:
Long
)
:
Long
get
And
Increment
Link copied to clipboard
fun
KorAtomicInt
.
getAndIncrement
(
)
:
Int
fun
KorAtomicLong
.
getAndIncrement
(
)
:
Long
get
Value
Link copied to clipboard
inline operator
fun
KorAtomicBoolean
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
Boolean
inline operator
fun
KorAtomicInt
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
Int
inline operator
fun
KorAtomicLong
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
Long
inline operator
fun
<
T
>
KorAtomicRef
<
T
>
.
getValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
)
:
T
increment
And
Get
Link copied to clipboard
fun
KorAtomicInt
.
incrementAndGet
(
)
:
Int
fun
KorAtomicLong
.
incrementAndGet
(
)
:
Long
kor
Atomic
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
fun
<
T
>
korAtomic
(
initial
:
T
)
:
KorAtomicRef
<
T
>
expect
fun
korAtomic
(
initial
:
Boolean
)
:
KorAtomicBoolean
expect
fun
korAtomic
(
initial
:
Int
)
:
KorAtomicInt
expect
fun
korAtomic
(
initial
:
Long
)
:
KorAtomicLong
actual
fun
<
T
>
korAtomic
(
initial
:
T
)
:
KorAtomicRef
<
T
>
actual
fun
korAtomic
(
initial
:
Boolean
)
:
KorAtomicBoolean
actual
fun
korAtomic
(
initial
:
Int
)
:
KorAtomicInt
actual
fun
korAtomic
(
initial
:
Long
)
:
KorAtomicLong
actual
fun
<
T
>
korAtomic
(
initial
:
T
)
:
KorAtomicRef
<
T
>
actual
fun
korAtomic
(
initial
:
Boolean
)
:
KorAtomicBoolean
actual
fun
korAtomic
(
initial
:
Int
)
:
KorAtomicInt
actual
fun
korAtomic
(
initial
:
Long
)
:
KorAtomicLong
actual
fun
<
T
>
korAtomic
(
initial
:
T
)
:
KorAtomicRef
<
T
>
actual
fun
korAtomic
(
initial
:
Boolean
)
:
KorAtomicBoolean
actual
fun
korAtomic
(
initial
:
Int
)
:
KorAtomicInt
actual
fun
korAtomic
(
initial
:
Long
)
:
KorAtomicLong
Kor
Atomic
Boolean
Link copied to clipboard
fun
KorAtomicBoolean
(
initial
:
Boolean
)
:
KorAtomicBoolean
Kor
Atomic
Int
Link copied to clipboard
fun
KorAtomicInt
(
initial
:
Int
)
:
KorAtomicInt
Kor
Atomic
Long
Link copied to clipboard
fun
KorAtomicLong
(
initial
:
Long
)
:
KorAtomicLong
Kor
Atomic
Ref
Link copied to clipboard
fun
<
T
>
KorAtomicRef
(
initial
:
T
)
:
KorAtomicRef
<
T
>
set
Value
Link copied to clipboard
inline operator
fun
KorAtomicBoolean
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
Boolean
)
inline operator
fun
KorAtomicInt
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
Int
)
inline operator
fun
KorAtomicLong
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
Long
)
inline operator
fun
<
T
>
KorAtomicRef
<
T
>
.
setValue
(
obj
:
Any
,
prop
:
KProperty
<
Any
?
>
,
v
:
T
)
update
Link copied to clipboard
inline
fun
<
T
>
KorAtomicBase
<
T
>
.
update
(
transform
:
(
T
)
->
T
)
:
T