LinkMobile
Toggle table of contents
android
apple
common
Target filter
android
apple
common
Switch theme
Search in API
Skip to content
LinkMobile
bridge
/
com.lastlock.bridge.bluelink.util
/
ThreadSafeMap
Thread
Safe
Map
android
apple
common
actual
class
ThreadSafeMap
<
K
,
V
>
actual
class
ThreadSafeMap
<
K
,
V
>
expect
class
ThreadSafeMap
<
K
,
V
>
Members
Constructors
Thread
Safe
Map
Link copied to clipboard
android
apple
common
constructor
(
)
constructor
(
)
expect
constructor
(
)
Functions
clear
Link copied to clipboard
android
apple
common
actual
fun
clear
(
)
actual
fun
clear
(
)
expect
fun
clear
(
)
find
First
Link copied to clipboard
android
apple
common
actual
fun
findFirst
(
predicate
:
(
V
)
->
Boolean
)
:
V
?
Finds the first value in the map that matches the given condition.
actual
fun
findFirst
(
predicate
:
(
V
)
->
Boolean
)
:
V
?
expect
fun
findFirst
(
predicate
:
(
V
)
->
Boolean
)
:
V
?
get
Link copied to clipboard
android
apple
common
actual
fun
get
(
key
:
K
)
:
V
?
actual
fun
get
(
key
:
K
)
:
V
?
expect
fun
get
(
key
:
K
)
:
V
?
get
All
Link copied to clipboard
android
apple
common
actual
fun
getAll
(
)
:
MutableCollection
<
V
>
actual
fun
getAll
(
)
:
MutableCollection
<
V
>
expect
fun
getAll
(
)
:
MutableCollection
<
V
>
get
Or
Put
Link copied to clipboard
android
apple
common
actual
fun
getOrPut
(
key
:
K
,
defaultValue
:
(
)
->
V
)
:
V
actual
fun
getOrPut
(
key
:
K
,
defaultValue
:
(
)
->
V
)
:
V
expect
fun
getOrPut
(
key
:
K
,
defaultValue
:
(
)
->
V
)
:
V
put
Link copied to clipboard
android
apple
common
actual
fun
put
(
key
:
K
,
value
:
V
)
actual
fun
put
(
key
:
K
,
value
:
V
)
expect
fun
put
(
key
:
K
,
value
:
V
)
remove
Link copied to clipboard
android
apple
common
actual
fun
remove
(
key
:
K
)
actual
fun
remove
(
key
:
K
)
expect
fun
remove
(
key
:
K
)
to
String
Link copied to clipboard
android
open
override
fun
toString
(
)
:
String