toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure.fakemutable
/
FakeMutableMap
Fake
Mutable
Map
class
FakeMutableMap
<
K
,
V
>
(
val
map
:
Map
<
K
,
V
>
)
:
MutableMap
<
K
,
V
>
,
Map
<
K
,
V
>
Members
Members & Extensions
Constructors
Fake
Mutable
Map
Link copied to clipboard
constructor
(
map
:
Map
<
K
,
V
>
)
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
>
map
Link copied to clipboard
val
map
:
Map
<
K
,
V
>
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
(
)
:
Nothing
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
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
?
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
>
)
:
Nothing
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
>