toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
FloatMap
Float
Map
class
FloatMap
<
T
>
Members
Constructors
Float
Map
Link copied to clipboard
constructor
(
loadFactor
:
Double
=
0.75
)
Types
Companion
Link copied to clipboard
object
Companion
Entry
Link copied to clipboard
data
class
Entry
<
T
>
(
var
key
:
Float
,
var
value
:
T
?
)
Iterator
Link copied to clipboard
class
Iterator
<
T
>
(
val
map
:
FloatMap
<
T
>
)
Properties
entries
Link copied to clipboard
val
entries
:
Iterable
<
FloatMap.Entry
<
T
?
>
>
keys
Link copied to clipboard
val
keys
:
Iterable
<
Float
>
pooled
Entries
Link copied to clipboard
val
pooledEntries
:
Iterable
<
FloatMap.Entry
<
T
?
>
>
pooled
Keys
Link copied to clipboard
val
pooledKeys
:
Iterable
<
Float
>
pooled
Values
Link copied to clipboard
val
pooledValues
:
Iterable
<
T
?
>
values
Link copied to clipboard
val
values
:
Iterable
<
T
?
>
Functions
clear
Link copied to clipboard
fun
clear
(
)
contains
Link copied to clipboard
operator
fun
contains
(
key
:
Float
)
:
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
:
Float
,
value
:
T
)
->
Unit
)
fast
For
Each
Nullable
Link copied to clipboard
inline
fun
fastForEachNullable
(
callback
:
(
key
:
Float
,
value
:
T
?
)
->
Unit
)
fast
Key
For
Each
Link copied to clipboard
inline
fun
fastKeyForEach
(
callback
:
(
key
:
Float
)
->
Unit
)
fast
Value
For
Each
Link copied to clipboard
inline
fun
fastValueForEach
(
callback
:
(
value
:
T
)
->
Unit
)
fast
Value
For
Each
Nullable
Link copied to clipboard
inline
fun
fastValueForEachNullable
(
callback
:
(
value
:
T
?
)
->
Unit
)
get
Link copied to clipboard
operator
fun
get
(
key
:
Float
)
:
T
?
get
Or
Put
Link copied to clipboard
inline
fun
getOrPut
(
key
:
Float
,
callback
:
(
Int
)
->
T
)
:
T
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
remove
Link copied to clipboard
fun
remove
(
key
:
Float
)
:
Boolean
set
Link copied to clipboard
operator
fun
set
(
key
:
Float
,
value
:
T
?
)
:
T
?