toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure.sync
/
SynchronizedMap
Synchronized
Map
open
class
SynchronizedMap
<
K
,
V
>
(
base
:
MutableMap
<
K
,
V
>
,
lock
:
NonRecursiveLock
=
NonRecursiveLock()
)
:
BaseMutableMap
<
K
,
V
>
Members
Members & Extensions
Constructors
Synchronized
Map
Link copied to clipboard
constructor
(
base
:
MutableMap
<
K
,
V
>
,
lock
:
NonRecursiveLock
=
NonRecursiveLock()
)
Properties
entries
Link copied to clipboard
open
override
val
entries
:
MutableSet
<
MutableMap.MutableEntry
<
K
,
V
>
>
keys
Link copied to clipboard
open
override
val
keys
:
MutableSet
<
K
>
size
Link copied to clipboard
open
override
val
size
:
Int
values
Link copied to clipboard
open
override
val
values
:
MutableCollection
<
V
>
Functions
append
Link copied to clipboard
fun
<
K
,
V
>
MutableMapList
<
K
,
V
>
.
append
(
key
:
K
,
value
:
V
)
:
MutableMapList
<
K
,
V
>
append
All
Link copied to clipboard
fun
<
K
,
V
>
MutableMapList
<
K
,
V
>
.
appendAll
(
vararg
items
:
Pair
<
K
,
V
>
)
:
MutableMapList
<
K
,
V
>
as
Fake
Mutable
Link copied to clipboard
fun
<
K
,
V
>
Map
<
K
,
V
>
.
asFakeMutable
(
)
:
FakeMutableMap
<
K
,
V
>
clear
Link copied to clipboard
open
override
fun
clear
(
)
contains
Key
Link copied to clipboard
open
override
fun
containsKey
(
key
:
K
)
:
Boolean
contains
Value
Link copied to clipboard
open
override
fun
containsValue
(
value
:
V
)
:
Boolean
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
flat
Map
Iterable
Link copied to clipboard
fun
<
K
,
V
>
MapList
<
K
,
V
>
.
flatMapIterable
(
)
:
Iterable
<
Pair
<
K
,
V
>
>
flat
Map
Iterator
Link copied to clipboard
fun
<
K
,
V
>
MapList
<
K
,
V
>
.
flatMapIterator
(
)
:
Iterator
<
Pair
<
K
,
V
>
>
flatten
Link copied to clipboard
fun
<
K
,
V
>
MapList
<
K
,
V
>
.
flatten
(
)
:
List
<
Pair
<
K
,
V
>
>
flip
Link copied to clipboard
fun
<
K
,
V
>
Map
<
K
,
V
>
.
flip
(
)
:
Map
<
V
,
K
>
get
Link copied to clipboard
open
operator override
fun
get
(
key
:
K
)
:
V
?
get
First
Link copied to clipboard
fun
<
K
,
V
>
MapList
<
K
,
V
>
.
getFirst
(
key
:
K
)
:
V
?
get
Last
Link copied to clipboard
fun
<
K
,
V
>
MapList
<
K
,
V
>
.
getLast
(
key
:
K
)
:
V
?
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
incr
Link copied to clipboard
fun
<
K
>
MutableMap
<
K
,
Int
>
.
incr
(
key
:
K
,
delta
:
Int
=
+1
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
put
Link copied to clipboard
open
override
fun
put
(
key
:
K
,
value
:
V
)
:
V
?
put
All
Link copied to clipboard
open
override
fun
putAll
(
from
:
Map
<
out
K
,
V
>
)
remove
Link copied to clipboard
open
override
fun
remove
(
key
:
K
)
:
V
?
replace
Link copied to clipboard
fun
<
K
,
V
>
MutableMapList
<
K
,
V
>
.
replace
(
key
:
K
,
value
:
V
)
:
MutableMapList
<
K
,
V
>
replace
All
Link copied to clipboard
fun
<
K
,
V
>
MutableMapList
<
K
,
V
>
.
replaceAll
(
vararg
items
:
Pair
<
K
,
V
>
)
:
MutableMapList
<
K
,
V
>
to
Case
Insensitive
Map
Link copied to clipboard
fun
<
T
>
Map
<
String
,
T
>
.
toCaseInsensitiveMap
(
)
:
Map
<
String
,
T
>
to
Fast
Link copied to clipboard
fun
<
T
:
Any
>
Map
<
String
,
T
>
.
toFast
(
)
:
FastStringMap
<
T
>
to
Int
Map
Link copied to clipboard
fun
<
T
>
Map
<
Int
,
T
>
.
toIntMap
(
)
:
IntMap
<
T
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String