toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure.map
/
MutableMapExt
Mutable
Map
Ext
interface
MutableMapExt
<
K
,
V
>
:
MutableMap
<
K
,
V
>
Inheritors
SortedMap
Members
Members & Extensions
Properties
entries
Link copied to clipboard
abstract
override
val
entries
:
MutableSet
<
MutableMap.MutableEntry
<
K
,
V
>
>
keys
Link copied to clipboard
abstract
override
val
keys
:
MutableSet
<
K
>
size
Link copied to clipboard
abstract
val
size
:
Int
values
Link copied to clipboard
abstract
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
abstract
fun
clear
(
)
contains
Key
Link copied to clipboard
abstract
fun
containsKey
(
key
:
K
)
:
Boolean
contains
Value
Link copied to clipboard
abstract
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
abstract
operator
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
abstract
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
abstract
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
>