utils-internal
Toggle table of contents
2.4.0
common
jsCommon
jvmCommon
nativeCommon
Platform filter
common
jsCommon
jvmCommon
nativeCommon
Switch theme
Search in API
utils-internal
utils-internal
/
com.badoo.reaktive.utils.atomic
/
AtomicInt
Atomic
Int
common
jsCommon
jvmCommon
nativeCommon
expect
class
AtomicInt
(
initialValue
:
Int
=
0
)
actual
class
AtomicInt
(
initialValue
:
Int
)
actual
class
AtomicInt
(
initialValue
:
Int
)
actual
class
AtomicInt
(
initialValue
:
Int
)
Members
Members & Extensions
Constructors
Atomic
Int
Link copied to clipboard
common
jsCommon
jvmCommon
nativeCommon
expect
constructor
(
initialValue
:
Int
=
0
)
actual
constructor
(
initialValue
:
Int
)
actual
constructor
(
initialValue
:
Int
)
actual
constructor
(
initialValue
:
Int
)
Properties
value
Link copied to clipboard
common
jsCommon
jvmCommon
nativeCommon
expect
var
value
:
Int
actual
var
value
:
Int
actual
var
value
:
Int
actual
var
value
:
Int
Functions
add
And
Get
Link copied to clipboard
common
jsCommon
nativeCommon
expect
fun
addAndGet
(
delta
:
Int
)
:
Int
actual
fun
addAndGet
(
delta
:
Int
)
:
Int
actual
fun
addAndGet
(
delta
:
Int
)
:
Int
change
And
Get
Link copied to clipboard
inline
fun
AtomicInt
.
changeAndGet
(
update
:
(
Int
)
->
Int
)
:
Int
compare
And
Set
Link copied to clipboard
common
jsCommon
nativeCommon
expect
fun
compareAndSet
(
expectedValue
:
Int
,
newValue
:
Int
)
:
Boolean
actual
fun
compareAndSet
(
expectedValue
:
Int
,
newValue
:
Int
)
:
Boolean
actual
fun
compareAndSet
(
expectedValue
:
Int
,
newValue
:
Int
)
:
Boolean
to
Byte
Link copied to clipboard
jvmCommon
open
fun
toByte
(
)
:
Byte
to
Short
Link copied to clipboard
jvmCommon
open
fun
toShort
(
)
:
Short