toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
IntIntMap
Int
Int
Map
class
IntIntMap
Members
Constructors
Int
Int
Map
Link copied to clipboard
constructor
(
initialCapacity
:
Int
=
16
,
loadFactor
:
Double
=
0.75
)
Types
Companion
Link copied to clipboard
object
Companion
Entry
Link copied to clipboard
data
class
Entry
(
var
key
:
Int
,
var
value
:
Int
)
Iterator
Link copied to clipboard
class
Iterator
(
val
map
:
IntIntMap
)
Properties
entries
Link copied to clipboard
val
entries
:
Iterable
<
IntIntMap.Entry
>
keys
Link copied to clipboard
val
keys
:
Iterable
<
Int
>
pooled
Entries
Link copied to clipboard
val
pooledEntries
:
Iterable
<
IntIntMap.Entry
>
pooled
Keys
Link copied to clipboard
val
pooledKeys
:
Iterable
<
Int
>
pooled
Values
Link copied to clipboard
val
pooledValues
:
Iterable
<
Int
>
size
Link copied to clipboard
var
size
:
Int
values
Link copied to clipboard
val
values
:
Iterable
<
Int
>
Functions
clear
Link copied to clipboard
fun
clear
(
)
clone
Link copied to clipboard
fun
clone
(
)
:
IntIntMap
contains
Link copied to clipboard
operator
fun
contains
(
key
:
Int
)
:
Boolean
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
fast
For
Each
Link copied to clipboard
inline
fun
fastForEach
(
callback
:
(
key
:
Int
,
value
:
Int
)
->
Unit
)
fast
Key
For
Each
Link copied to clipboard
inline
fun
fastKeyForEach
(
callback
:
(
key
:
Int
)
->
Unit
)
fast
Value
For
Each
Link copied to clipboard
inline
fun
fastValueForEach
(
callback
:
(
value
:
Int
)
->
Unit
)
get
Link copied to clipboard
operator
fun
get
(
key
:
Int
)
:
Int
get
Or
Put
Link copied to clipboard
fun
getOrPut
(
key
:
Int
,
callback
:
(
)
->
Int
)
:
Int
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
remove
Link copied to clipboard
fun
remove
(
key
:
Int
)
:
Boolean
set
Link copied to clipboard
operator
fun
set
(
key
:
Int
,
value
:
Int
)
:
Int
to
Map
Link copied to clipboard
fun
toMap
(
out
:
MutableMap
<
Int
,
Int
>
=
linkedHashMapOf()
)
:
Map
<
Int
,
Int
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String