korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-datastructure
/
korlibs.datastructure
/
IndexedTable
Indexed
Table
class
IndexedTable
<
T
>
:
Iterable
<
T
>
Members
Members & Extensions
Constructors
Indexed
Table
Link copied to clipboard
constructor
(
)
Properties
instances
Link copied to clipboard
val
instances
:
ArrayList
<
T
>
size
Link copied to clipboard
val
size
:
Int
Functions
add
Link copied to clipboard
fun
add
(
str
:
T
)
associate
By
Int
Link copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
associateByInt
(
block
:
(
index
:
Int
,
value
:
T
)
->
Int
)
:
IntMap
<
T
>
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
str
:
T
)
:
Int
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
T
>
map
Double
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
T
>
.
mapDouble
(
callback
:
(
T
)
->
Double
)
:
DoubleArrayList
map
Float
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
T
>
.
mapFloat
(
callback
:
(
T
)
->
Float
)
:
FloatArrayList
map
Int
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
T
>
.
mapInt
(
callback
:
(
T
)
->
Int
)
:
IntArrayList
multisorted
Link copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
multisorted
(
vararg
props
:
KProperty1
<
T
,
Comparable
<
*
>
>
)
:
List
<
T
>
sum
Of
Double
Link copied to clipboard
@
JvmName
(
name
=
"sumOfFloat"
)
inline
fun
<
T
>
Iterable
<
T
>
.
sumOfDouble
(
selector
:
(
T
)
->
Double
)
:
Double
sum
Of
Float
Link copied to clipboard
@
JvmName
(
name
=
"sumOfFloat"
)
inline
fun
<
T
>
Iterable
<
T
>
.
sumOfFloat
(
selector
:
(
T
)
->
Float
)
:
Float
to
Double
List
Link copied to clipboard
inline
fun
Iterable
<
Double
>
.
toDoubleList
(
)
:
DoubleArrayList
to
Float
List
Link copied to clipboard
inline
fun
Iterable
<
Float
>
.
toFloatList
(
)
:
FloatArrayList
to
Int
List
Link copied to clipboard
inline
fun
Iterable
<
Int
>
.
toIntList
(
)
:
IntArrayList
to
Linked
Map
Link copied to clipboard
fun
<
K
,
V
>
Iterable
<
Pair
<
K
,
V
>
>
.
toLinkedMap
(
)
:
LinkedHashMap
<
K
,
V
>