lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
core
/
org.gnit.lucenekmp.util
/
Sorter
/
Companion
Companion
object
Companion
Members
Properties
BINARY_
SORT_
THRESHOLD
Link copied to clipboard
const
val
BINARY_SORT_THRESHOLD
:
Int
=
20
INSERTION_
SORT_
THRESHOLD
Link copied to clipboard
const
val
INSERTION_SORT_THRESHOLD
:
Int
=
16
Below this size threshold, the sub-range is sorted using Insertion sort.
Functions
heap
Child
Link copied to clipboard
fun
heapChild
(
from
:
Int
,
i
:
Int
)
:
Int
heap
Parent
Link copied to clipboard
fun
heapParent
(
from
:
Int
,
i
:
Int
)
:
Int