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
/
AtomicLong
Atomic
Long
common
jsCommon
jvmCommon
nativeCommon
expect
class
AtomicLong
(
initialValue
:
Long
=
0
)
actual
class
AtomicLong
(
initialValue
:
Long
)
actual
class
AtomicLong
(
initialValue
:
Long
)
actual
class
AtomicLong
(
initialValue
:
Long
)
Members
Constructors
Atomic
Long
Link copied to clipboard
common
jsCommon
jvmCommon
nativeCommon
expect
constructor
(
initialValue
:
Long
=
0
)
actual
constructor
(
initialValue
:
Long
)
actual
constructor
(
initialValue
:
Long
)
actual
constructor
(
initialValue
:
Long
)
Properties
value
Link copied to clipboard
common
jsCommon
jvmCommon
nativeCommon
expect
var
value
:
Long
actual
var
value
:
Long
actual
var
value
:
Long
actual
var
value
:
Long
Functions
add
And
Get
Link copied to clipboard
common
jsCommon
nativeCommon
expect
fun
addAndGet
(
delta
:
Long
)
:
Long
actual
fun
addAndGet
(
delta
:
Long
)
:
Long
actual
fun
addAndGet
(
delta
:
Long
)
:
Long
compare
And
Set
Link copied to clipboard
common
jsCommon
nativeCommon
expect
fun
compareAndSet
(
expectedValue
:
Long
,
newValue
:
Long
)
:
Boolean
actual
fun
compareAndSet
(
expectedValue
:
Long
,
newValue
:
Long
)
:
Boolean
actual
fun
compareAndSet
(
expectedValue
:
Long
,
newValue
:
Long
)
:
Boolean
to
Byte
Link copied to clipboard
jvmCommon
open
fun
toByte
(
)
:
Byte
to
Short
Link copied to clipboard
jvmCommon
open
fun
toShort
(
)
:
Short