toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.event
/
EventListenerFastMap
Event
Listener
Fast
Map
class
EventListenerFastMap
<
K
,
V
>
Members
Constructors
Event
Listener
Fast
Map
Link copied to clipboard
constructor
(
)
Properties
counts
Link copied to clipboard
val
counts
:
IntArrayList
keys
Link copied to clipboard
val
keys
:
FastArrayList
<
K
>
size
Link copied to clipboard
val
size
:
Int
values
Link copied to clipboard
val
values
:
FastArrayList
<
V
?
>
Functions
for
Each
Link copied to clipboard
inline
fun
forEach
(
block
:
(
key
:
K
,
value
:
V
?
,
count
:
Int
)
->
Unit
)
get
Count
Link copied to clipboard
fun
getCount
(
key
:
K
)
:
Int
get
Key
Index
Link copied to clipboard
fun
getKeyIndex
(
key
:
K
)
:
Int
get
Or
Put
Value
Link copied to clipboard
inline
fun
getOrPutValue
(
key
:
K
,
gen
:
(
)
->
V
)
:
V
get
Value
Link copied to clipboard
fun
getValue
(
key
:
K
)
:
V
?
set
Link copied to clipboard
fun
set
(
key
:
K
,
value
:
V
?
,
count
:
Int
=
-1
)
:
Int
set
Count
Link copied to clipboard
fun
setCount
(
key
:
K
,
count
:
Int
)