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
/
DoubleStack
Double
Stack
inline
class
DoubleStack
(
items
:
DoubleArrayList
=
DoubleArrayList()
)
:
Collection
<
Double
>
Members
Members & Extensions
Constructors
Double
Stack
Link copied to clipboard
constructor
(
items
:
DoubleArrayList
=
DoubleArrayList()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
as
Fake
Mutable
Link copied to clipboard
fun
<
K
>
Collection
<
K
>
.
asFakeMutable
(
)
:
FakeMutableCollection
<
K
>
associate
By
Int
Link copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
associateByInt
(
block
:
(
index
:
Int
,
value
:
T
)
->
Int
)
:
IntMap
<
T
>
clear
Link copied to clipboard
fun
clear
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
Double
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
Double
>
)
:
Boolean
fast
Random
Link copied to clipboard
inline
fun
<
T
>
Collection
<
T
>
.
fastRandom
(
)
:
T
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
Double
>
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
>
peek
Link copied to clipboard
fun
peek
(
)
:
Double
?
pop
Link copied to clipboard
fun
pop
(
)
:
Double
push
Link copied to clipboard
fun
push
(
v
:
Double
)
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
Deque
Link copied to clipboard
fun
<
T
>
Collection
<
T
>
.
toDeque
(
)
:
Deque
<
T
>
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
Int
Map
Link copied to clipboard
fun
<
T
>
Collection
<
Pair
<
Int
,
T
>
>
.
toIntMap
(
)
:
IntMap
<
T
>
to
Linked
Map
Link copied to clipboard
fun
<
K
,
V
>
Iterable
<
Pair
<
K
,
V
>
>
.
toLinkedMap
(
)
:
LinkedHashMap
<
K
,
V
>