toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
SlowIdentityHashMap
Slow
Identity
Hash
Map
open
class
SlowIdentityHashMap
<
K
,
V
>
(
initialCapacity
:
Int
=
16
)
:
CustomHashMap
<
K
,
V
>
Members
Members & Extensions
Constructors
Slow
Identity
Hash
Map
Link copied to clipboard
constructor
(
initialCapacity
:
Int
=
16
)
Properties
entries
Link copied to clipboard
open
override
val
entries
:
MutableSet
<
MutableMap.MutableEntry
<
K
,
V
>
>
equal
Key
Link copied to clipboard
val
equalKey
:
(
a
:
K
,
b
:
K
)
->
Boolean
equal
Value
Link copied to clipboard
val
equalValue
:
(
a
:
V
,
b
:
V
)
->
Boolean
hasher
Link copied to clipboard
val
hasher
:
(
key
:
K
)
->
Int
initial
Capacity
Link copied to clipboard
val
initialCapacity
:
Int
keys
Link copied to clipboard
open
override
val
keys
:
MutableSet
<
K
>
size
Link copied to clipboard
open
override
var
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
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
>
)
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
>