toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.concurrent.atomic
/
KorAtomicFloat
Kor
Atomic
Float
class
KorAtomicFloat
(
initial
:
Float
)
:
KorAtomicNumber
<
Float
>
Members
Members & Extensions
Constructors
Kor
Atomic
Float
Link copied to clipboard
constructor
(
initial
:
Float
)
Properties
value
Link copied to clipboard
open
override
var
value
:
Float
Functions
add
And
Get
Link copied to clipboard
open
override
fun
addAndGet
(
delta
:
Float
)
:
Float
add
And
Get
Mod
Link copied to clipboard
fun
addAndGetMod
(
delta
:
Float
,
modulo
:
Float
)
:
Float
compare
And
Set
Link copied to clipboard
open
override
fun
compareAndSet
(
expect
:
Float
,
update
:
Float
)
:
Boolean
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