Kevlar
2.0.13
common
kollections-interoperable
/
kollections
/
MutableMap
Mutable
Map
@
Serializable
(
with
=
MutableMapSerializer::class
)
interface
MutableMap
<
K
,
V
>
:
MutableMapLike
<
K
,
V
>
,
Map
<
K
,
V
>
Members
Members & Extensions
Functions
associate
Link copied to clipboard
abstract
fun
<
K2
,
V2
>
associate
(
transformer
:
(
MapEntry
<
K
,
V
>
)
->
MapEntry
<
K2
,
V2
>
)
:
Map
<
K2
,
V2
>
clear
Link copied to clipboard
abstract
override
fun
clear
(
)
contains
Link copied to clipboard
abstract
operator override
fun
contains
(
element
:
MapEntry
<
K
,
V
>
)
:
Boolean
contains
All
Link copied to clipboard
abstract
fun
containsAll
(
elements
:
Collection
<
MapEntry
<
K
,
V
>
>
)
:
Boolean
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
filter
Link copied to clipboard
abstract
fun
filter
(
predicate
:
(
MapEntry
<
K
,
V
>
)
->
Boolean
)
:
List
<
MapEntry
<
K
,
V
>
>
first
Link copied to clipboard
abstract
fun
first
(
)
:
MapEntry
<
K
,
V
>
first
Or
Null
Link copied to clipboard
abstract
fun
firstOrNull
(
)
:
MapEntry
<
K
,
V
>
?
for
Each
Link copied to clipboard
abstract
fun
forEach
(
lambda
:
(
item
:
MapEntry
<
K
,
V
>
)
->
Unit
)
for
Each
With
Index
Link copied to clipboard
abstract
fun
forEachWithIndex
(
lambda
:
(
item
:
MapEntry
<
K
,
V
>
,
index
:
Int
)
->
Unit
)
get
Link copied to clipboard
abstract
operator override
fun
get
(
key
:
K
)
:
V
?
get
Value
Link copied to clipboard
abstract
fun
getValue
(
key
:
K
)
:
V
is
Empty
Link copied to clipboard
abstract
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
abstract
operator
fun
iterator
(
)
:
Iterator
<
MapEntry
<
K
,
V
>
>
map
Link copied to clipboard
abstract
fun
<
R
>
map
(
transform
:
(
item
:
MapEntry
<
K
,
V
>
)
->
R
)
:
List
<
R
>
map
To
Array
Link copied to clipboard
abstract
fun
<
R
>
mapToArray
(
transform
:
(
item
:
MapEntry
<
K
,
V
>
)
->
R
)
:
Array
<
R
>
map
To
Array
With
Index
Link copied to clipboard
abstract
fun
<
R
>
mapToArrayWithIndex
(
transform
:
(
item
:
MapEntry
<
K
,
V
>
,
index
:
Int
)
->
R
)
:
Array
<
R
>
map
With
Index
Link copied to clipboard
abstract
fun
<
R
>
mapWithIndex
(
transform
:
(
item
:
MapEntry
<
K
,
V
>
,
index
:
Int
)
->
R
)
:
List
<
R
>
put
Link copied to clipboard
abstract
override
fun
put
(
key
:
K
,
value
:
V
)
:
V
?
put
All
Link copied to clipboard
abstract
fun
putAll
(
from
:
Map
<
out
K
,
V
>
)
remove
Link copied to clipboard
abstract
override
fun
remove
(
key
:
K
)
:
V
?
set
Link copied to clipboard
abstract
operator
fun
set
(
key
:
K
,
value
:
V
)
to
IList
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIList
(
)
:
List
<
E
>
to
IMap
Link copied to clipboard
inline
fun
<
K
,
V
>
Map
<
K
,
V
>
.
toIMap
(
)
:
Map
<
K
,
V
>
to
IMutable
List
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIMutableList
(
)
:
MutableList
<
E
>
to
IMutable
Map
Link copied to clipboard
inline
fun
<
K
,
V
>
Map
<
K
,
V
>
.
toIMutableMap
(
)
:
MutableMap
<
K
,
V
>
to
IMutable
Set
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toIMutableSet
(
)
:
MutableSet
<
E
>
to
ISet
Link copied to clipboard
inline
fun
<
E
>
Collection
<
E
>
.
toISet
(
)
:
Set
<
E
>
Properties
entries
Link copied to clipboard
abstract
val
entries
:
Set
<
Map.Entry
<
K
,
V
>
>
keys
Link copied to clipboard
abstract
override
val
keys
:
MutableSet
<
K
>
pairs
Link copied to clipboard
abstract
val
pairs
:
Set
<
MapEntry
<
K
,
V
>
>
size
Link copied to clipboard
abstract
override
val
size
:
Int
values
Link copied to clipboard
abstract
override
val
values
:
MutableCollection
<
V
>